<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 7.4.2 (Python 3.11.10 on linux)" generated="2026-08-27T14:13:33.630731" rpa="false" schemaversion="5">
<suite id="s1" name="openflowplugin-cbench.txt" source="/w/workspace/openflowplugin-csit-1node-cbench-only-vanadium/test/csit/suites/openflowplugin/Performance/010_Cbench.robot">
<kw name="Cbench Suite Setup" type="SETUP">
<kw name="Wait Until Keyword Succeeds" owner="BuiltIn">
<kw name="Issue_Command_On_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-08-27T14:13:34.162590" elapsed="0.000022"/>
</return>
<status status="NOT RUN" start="2026-08-27T14:13:34.162431" elapsed="0.000233"/>
</branch>
<status status="PASS" start="2026-08-27T14:13:34.162394" elapsed="0.000295"/>
</if>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${controller}</arg>
<arg>port=${karaf_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-08-27T14:13:34.162837" elapsed="0.000525"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-08-27T14:13:34.163817" level="INFO">Logging into ':8101' as 'karaf'.</msg>
<msg time="2026-08-27T14:13:34.164444" level="FAIL">OSError: [Errno 16] Device or resource busy</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-08-27T14:13:34.163544" elapsed="0.003992">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Write" owner="SSHLibrary">
<arg>${cmd}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:34.167734" elapsed="0.000026"/>
</kw>
<kw name="Read Until Regexp" owner="SSHLibrary">
<var>${output}</var>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:34.167910" elapsed="0.000022"/>
</kw>
<kw name="Write Bare" owner="SSHLibrary">
<arg>logout\n</arg>
<doc>Writes the given ``text`` on the remote machine without appending a newline.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:34.168086" elapsed="0.000025"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:34.168236" elapsed="0.000019"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:34.168382" elapsed="0.000021"/>
</kw>
<return>
<value>${output}</value>
<status status="NOT RUN" start="2026-08-27T14:13:34.168445" elapsed="0.000020"/>
</return>
<arg>log:set ${log_level}</arg>
<doc>Will execute the given ${cmd} by ssh'ing to the karaf console running on 
Note that this keyword will open&amp;close new SSH connection, without switching back to previously current session.</doc>
<status status="FAIL" start="2026-08-27T14:13:34.161954" elapsed="0.006628">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Issue_Command_On_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-08-27T14:13:35.178632" elapsed="0.000036"/>
</return>
<status status="NOT RUN" start="2026-08-27T14:13:35.178337" elapsed="0.000427"/>
</branch>
<status status="PASS" start="2026-08-27T14:13:35.178286" elapsed="0.000529"/>
</if>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${controller}</arg>
<arg>port=${karaf_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-08-27T14:13:35.179182" elapsed="0.001067"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-08-27T14:13:35.181260" level="INFO">Logging into ':8101' as 'karaf'.</msg>
<msg time="2026-08-27T14:13:35.181725" level="FAIL">OSError: [Errno 16] Device or resource busy</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-08-27T14:13:35.180596" elapsed="0.002481">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Write" owner="SSHLibrary">
<arg>${cmd}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:35.183417" elapsed="0.000044"/>
</kw>
<kw name="Read Until Regexp" owner="SSHLibrary">
<var>${output}</var>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:35.183743" elapsed="0.000043"/>
</kw>
<kw name="Write Bare" owner="SSHLibrary">
<arg>logout\n</arg>
<doc>Writes the given ``text`` on the remote machine without appending a newline.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:35.184097" elapsed="0.000044"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:35.184412" elapsed="0.000050"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:35.184722" elapsed="0.000040"/>
</kw>
<return>
<value>${output}</value>
<status status="NOT RUN" start="2026-08-27T14:13:35.184932" elapsed="0.000068"/>
</return>
<arg>log:set ${log_level}</arg>
<doc>Will execute the given ${cmd} by ssh'ing to the karaf console running on 
Note that this keyword will open&amp;close new SSH connection, without switching back to previously current session.</doc>
<status status="FAIL" start="2026-08-27T14:13:35.177400" elapsed="0.007885">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Issue_Command_On_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-08-27T14:13:36.194421" elapsed="0.000037"/>
</return>
<status status="NOT RUN" start="2026-08-27T14:13:36.194127" elapsed="0.000407"/>
</branch>
<status status="PASS" start="2026-08-27T14:13:36.194070" elapsed="0.000512"/>
</if>
<kw name="Open Connection" owner="SSHLibrary">
<arg>${controller}</arg>
<arg>port=${karaf_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-08-27T14:13:36.194946" elapsed="0.001064"/>
</kw>
<kw name="Login" owner="SSHLibrary">
<msg time="2026-08-27T14:13:36.197057" level="INFO">Logging into ':8101' as 'karaf'.</msg>
<msg time="2026-08-27T14:13:36.197543" level="FAIL">OSError: [Errno 16] Device or resource busy</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-08-27T14:13:36.196393" elapsed="0.002354">OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Write" owner="SSHLibrary">
<arg>${cmd}</arg>
<doc>Writes the given ``text`` on the remote machine and appends a newline.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.199153" elapsed="0.000048"/>
</kw>
<kw name="Read Until Regexp" owner="SSHLibrary">
<var>${output}</var>
<arg>${KARAF_PROMPT}</arg>
<doc>Consumes and returns the server output until a match to ``regexp`` is found.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.199511" elapsed="0.000046"/>
</kw>
<kw name="Write Bare" owner="SSHLibrary">
<arg>logout\n</arg>
<doc>Writes the given ``text`` on the remote machine without appending a newline.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.199842" elapsed="0.000053"/>
</kw>
<kw name="Close Connection" owner="SSHLibrary">
<doc>Closes the current connection.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.200363" elapsed="0.000045"/>
</kw>
<kw name="Log" owner="BuiltIn">
<arg>${output}</arg>
<doc>Logs the given message with the given level.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.200688" elapsed="0.000041"/>
</kw>
<return>
<value>${output}</value>
<status status="NOT RUN" start="2026-08-27T14:13:36.200821" elapsed="0.000046"/>
</return>
<arg>log:set ${log_level}</arg>
<doc>Will execute the given ${cmd} by ssh'ing to the karaf console running on 
Note that this keyword will open&amp;close new SSH connection, without switching back to previously current session.</doc>
<status status="FAIL" start="2026-08-27T14:13:36.193193" elapsed="0.007964">OSError: [Errno 16] Device or resource busy</status>
</kw>
<msg time="2026-08-27T14:13:36.201410" level="FAIL">Keyword 'KarafKeywords.Issue Command On Karaf Console' failed after retrying 3 times. The last error was: OSError: [Errno 16] Device or resource busy</msg>
<arg>3x</arg>
<arg>1s</arg>
<arg>KarafKeywords.Issue Command On Karaf Console</arg>
<arg>log:set ${log_level}</arg>
<doc>Runs the specified keyword and retries if it fails.</doc>
<status status="FAIL" start="2026-08-27T14:13:34.157835" elapsed="2.043817">Keyword 'KarafKeywords.Issue Command On Karaf Console' failed after retrying 3 times. The last error was: OSError: [Errno 16] Device or resource busy</status>
</kw>
<kw name="Append To File" owner="OperatingSystem">
<arg>${latency_results_file}</arg>
<arg>LATENCY_MIN,LATENCY_MAX,LATENCY_AVERAGE\n</arg>
<doc>Appends the given content to the specified file.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.202124" elapsed="0.000048"/>
</kw>
<kw name="Append To File" owner="OperatingSystem">
<arg>${throughput_results_file}</arg>
<arg>THROUGHPUT_MIN,THROUGHPUT_MAX,THROUGHPUT_AVERAGE\n</arg>
<doc>Appends the given content to the specified file.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.202531" elapsed="0.000043"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${duration_in_ms}</var>
<arg>${duration_in_secs} * 1000</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.202924" elapsed="0.000056"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${duration_in_ms}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.203369" elapsed="0.000056"/>
</kw>
<kw name="Evaluate" owner="BuiltIn">
<var>${test_timeout}</var>
<arg>(${loops} * ${duration_in_secs}) * 1.5</arg>
<doc>Evaluates the given expression in Python and returns the result.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.203732" elapsed="0.000052"/>
</kw>
<kw name="Set Suite Variable" owner="BuiltIn">
<arg>${test_timeout}</arg>
<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.204168" elapsed="0.000055"/>
</kw>
<if>
<branch type="IF" condition="&quot;${cbench_system}&quot; == &quot;localhost&quot;">
<kw name="File Should Exist" owner="OperatingSystem">
<arg>${cbench_executable}</arg>
<doc>Fails unless the given ``path`` points to an existing file.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.204679" elapsed="0.000049"/>
</kw>
<status status="NOT RUN" start="2026-08-27T14:13:36.204398" elapsed="0.000397"/>
</branch>
<branch type="ELSE">
<kw name="Verify File Exists On Remote System" owner="Utils">
<arg>${cbench_system}</arg>
<arg>${cbench_executable}</arg>
<doc>Will create connection with public key and will PASS if the given ${file} exists,
otherwise will FAIL</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.212619" elapsed="0.000066"/>
</kw>
<status status="NOT RUN" start="2026-08-27T14:13:36.204869" elapsed="0.007899"/>
</branch>
<status status="NOT RUN" start="2026-08-27T14:13:36.204355" elapsed="0.008465"/>
</if>
<kw name="Should Be True" owner="BuiltIn">
<arg>${loops} &gt;= 2</arg>
<arg>If number of loops is less than 2, cbench will not run</arg>
<doc>Fails if the given condition is not true.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.213251" elapsed="0.000052"/>
</kw>
<kw name="Verify_Feature_Is_Installed" owner="KarafKeywords">
<arg>odl-openflowplugin-drop-test</arg>
<doc>Will Succeed if the given ${feature_name} is found in the output of "feature:list -i"</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.221577" elapsed="0.000066"/>
</kw>
<kw name="Issue_Command_On_Karaf_Console" owner="KarafKeywords">
<arg>dropallpacketsrpc on</arg>
<doc>Will execute the given ${cmd} by ssh'ing to the karaf console running on 
Note that this keyword will open&amp;close new SSH connection, without switching back to previously current session.</doc>
<status status="NOT RUN" start="2026-08-27T14:13:36.229275" elapsed="0.000066"/>
</kw>
<status status="FAIL" start="2026-08-27T14:13:34.154767" elapsed="2.074822">Keyword 'KarafKeywords.Issue Command On Karaf Console' failed after retrying 3 times. The last error was: OSError: [Errno 16] Device or resource busy</status>
</kw>
<test id="s1-t1" name="Cbench Latency Test" line="37">
<doc>cbench executed in default latency mode. Test parameters have defaults, but can be overridden
on the pybot command line</doc>
<tag>cbench</tag>
<tag>latency</tag>
<timeout value="${test_timeout}"/>
<status status="FAIL" start="2026-08-27T14:13:36.234987" elapsed="0.000954">Parent suite setup failed:
Keyword 'KarafKeywords.Issue Command On Karaf Console' failed after retrying 3 times. The last error was: OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-t2" name="Cbench Throughput Test" line="51">
<doc>cbench executed in throughput mode (-t). Test parameters have defaults, but can be overridden
on the pybot command line</doc>
<tag>cbench</tag>
<tag>throughput</tag>
<timeout value="${test_timeout}"/>
<status status="FAIL" start="2026-08-27T14:13:36.241368" elapsed="0.000796">Parent suite setup failed:
Keyword 'KarafKeywords.Issue Command On Karaf Console' failed after retrying 3 times. The last error was: OSError: [Errno 16] Device or resource busy</status>
</test>
<test id="s1-t3" name="Rerun Latency Test To Check Bug 6176" line="65">
<doc>cbench executed in latency mode to see if controller is healthy</doc>
<tag>cbench</tag>
<tag>latency</tag>
<timeout value="${test_timeout}"/>
<status status="FAIL" start="2026-08-27T14:13:36.247831" elapsed="0.000684">Parent suite setup failed:
Keyword 'KarafKeywords.Issue Command On Karaf Console' failed after retrying 3 times. The last error was: OSError: [Errno 16] Device or resource busy</status>
</test>
<doc>Cbench Latency and Throughput tests can be run from an external
cbench.
If cbench is run with a medium number of switches or higher (e.g. 32+)
the normal openflow operations seem to break.
BUG: https://bugs.opendaylight.org/show_bug.cgi?id=2897</doc>
<status status="FAIL" start="2026-08-27T14:13:33.632191" elapsed="2.617001">Suite setup failed:
Keyword 'KarafKeywords.Issue Command On Karaf Console' failed after retrying 3 times. The last error was: OSError: [Errno 16] Device or resource busy</status>
</suite>
<statistics>
<total>
<stat pass="0" fail="3" skip="0">All Tests</stat>
</total>
<tag>
<stat pass="0" fail="3" skip="0">cbench</stat>
<stat pass="0" fail="2" skip="0">latency</stat>
<stat pass="0" fail="1" skip="0">throughput</stat>
</tag>
<suite>
<stat name="openflowplugin-cbench.txt" id="s1" pass="0" fail="3" skip="0">openflowplugin-cbench.txt</stat>
</suite>
</statistics>
<errors>
</errors>
</robot>
