[RICPLT-1898] - Replace http router to gorilla-mux + UT + Automation code
[ric-plt/e2mgr.git] / Automation / Tests / output.xml
index 458431f..cf142d6 100644 (file)
@@ -1,77 +1,95 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20190806 16:38:12.696" rpa="false">
-<suite id="s1" name="Health" source="/home/ubuntu/oran_repo/LF-e2mgr/Automation/Tests/Health">
-<suite id="s1-s1" name="Get Health Check" source="/home/ubuntu/oran_repo/LF-e2mgr/Automation/Tests/Health/get_health_check.robot">
-<kw name="Start dockers" type="setup">
-<kw name="Run And Return Rc And Output" library="OperatingSystem">
-<doc>Runs the given command in the system and returns the RC and output.</doc>
-<arguments>
-<arg>${run_script}</arg>
-</arguments>
-<msg timestamp="20190806 16:38:13.043" level="INFO">Running command '/home/ubuntu/run.sh 2&gt;&amp;1'.</msg>
-<status status="PASS" starttime="20190806 16:38:13.040" endtime="20190806 16:38:48.862"></status>
-</kw>
-<kw name="Run And Return Rc And Output" library="OperatingSystem">
-<doc>Runs the given command in the system and returns the RC and output.</doc>
-<arguments>
-<arg>${docker_command}</arg>
-</arguments>
-<assign>
-<var>${result}</var>
-</assign>
-<msg timestamp="20190806 16:38:48.867" level="INFO">Running command 'docker ps | grep 1.0 | wc --lines 2&gt;&amp;1'.</msg>
-<msg timestamp="20190806 16:38:48.950" level="INFO">${result} = (0, '4')</msg>
-<status status="PASS" starttime="20190806 16:38:48.863" endtime="20190806 16:38:48.950"></status>
-</kw>
-<kw name="Should Be Equal As Integers" library="BuiltIn">
-<doc>Fails if objects are unequal after converting them to integers.</doc>
+<robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20190828 15:42:18.552" rpa="false">
+<suite id="s1" name="Reset RIC TO RAN" source="/home/ubuntu/oran_repo/LF-e2mgr/Automation/Tests/Reset_RIC_TO_RAN">
+<suite id="s1-s1" name="Reset Happy no cause" source="/home/ubuntu/oran_repo/LF-e2mgr/Automation/Tests/Reset_RIC_TO_RAN/Reset_Happy_no_cause.robot">
+<test id="s1-s1-t1" name="Prepare Ran in Connected connectionStatus">
+<kw name="Post Request setup node b x-2" library="Keywords">
+<kw name="Set Headers" library="REST">
+<tags>
+<tag>settings</tag>
+</tags>
+<doc>*Sets new request headers or updates the existing.*</doc>
 <arguments>
-<arg>${result[1]}</arg>
-<arg>4</arg>
+<arg>${header}</arg>
 </arguments>
-<status status="PASS" starttime="20190806 16:38:48.951" endtime="20190806 16:38:48.952"></status>
+<status status="PASS" starttime="20190828 15:42:19.365" endtime="20190828 15:42:19.365"></status>
 </kw>
-<status status="PASS" starttime="20190806 16:38:13.040" endtime="20190806 16:38:48.953"></status>
-</kw>
-<test id="s1-s1-t1" name="Get Health">
-<kw name="Get" library="REST">
+<kw name="Post" library="REST">
 <tags>
 <tag>http</tag>
 </tags>
-<doc>*Sends a GET request to the endpoint.*</doc>
+<doc>*Sends a POST request to the endpoint.*</doc>
 <arguments>
-<arg>/v1/health</arg>
+<arg>/v1/nodeb/x2-setup</arg>
+<arg>${json}</arg>
 </arguments>
-<status status="PASS" starttime="20190806 16:38:48.954" endtime="20190806 16:38:48.990"></status>
+<status status="FAIL" starttime="20190828 15:42:19.365" endtime="20190828 15:43:10.009"></status>
+</kw>
+<status status="FAIL" starttime="20190828 15:42:19.364" endtime="20190828 15:43:10.009"></status>
 </kw>
-<kw name="Integer" library="REST">
+<status status="FAIL" starttime="20190828 15:42:19.363" endtime="20190828 15:43:10.009" critical="yes">Execution terminated by signal</status>
+</test>
+<test id="s1-s1-t2" name="Send Reset reqeust with no cause">
 <tags>
-<tag>assertions</tag>
+<tag>robot:exit</tag>
 </tags>
-<doc>*Asserts the field as JSON integer.*</doc>
-<arguments>
-<arg>response status</arg>
-<arg>200</arg>
-</arguments>
-<status status="PASS" starttime="20190806 16:38:48.991" endtime="20190806 16:38:48.993"></status>
-</kw>
-<status status="PASS" starttime="20190806 16:38:48.953" endtime="20190806 16:38:48.993" critical="yes"></status>
+<status status="FAIL" starttime="20190828 15:43:10.010" endtime="20190828 15:43:10.010" critical="yes">Test execution stopped due to a fatal error.</status>
+</test>
+<status status="FAIL" starttime="20190828 15:42:18.635" endtime="20190828 15:43:10.011"></status>
+</suite>
+<suite id="s1-s2" name="Reset Happy with cause" source="/home/ubuntu/oran_repo/LF-e2mgr/Automation/Tests/Reset_RIC_TO_RAN/Reset_Happy_with_cause.robot">
+<test id="s1-s2-t1" name="Prepare Ran in Connected connectionStatus">
+<tags>
+<tag>robot:exit</tag>
+</tags>
+<status status="FAIL" starttime="20190828 15:43:10.014" endtime="20190828 15:43:10.014" critical="yes">Test execution stopped due to a fatal error.</status>
+</test>
+<test id="s1-s2-t2" name="Send Reset reqeust with no cause">
+<tags>
+<tag>robot:exit</tag>
+</tags>
+<status status="FAIL" starttime="20190828 15:43:10.015" endtime="20190828 15:43:10.016" critical="yes">Test execution stopped due to a fatal error.</status>
+</test>
+<status status="FAIL" starttime="20190828 15:43:10.013" endtime="20190828 15:43:10.016"></status>
+</suite>
+<suite id="s1-s3" name="Reset unhappy" source="/home/ubuntu/oran_repo/LF-e2mgr/Automation/Tests/Reset_RIC_TO_RAN/Reset_unhappy.robot">
+<test id="s1-s3-t1" name="Pre Condition for Connecting - no E2">
+<tags>
+<tag>robot:exit</tag>
+</tags>
+<status status="FAIL" starttime="20190828 15:43:10.018" endtime="20190828 15:43:10.019" critical="yes">Test execution stopped due to a fatal error.</status>
+</test>
+<test id="s1-s3-t2" name="Prepare Ran in Connecting connectionStatus">
+<tags>
+<tag>robot:exit</tag>
+</tags>
+<status status="FAIL" starttime="20190828 15:43:10.020" endtime="20190828 15:43:10.020" critical="yes">Test execution stopped due to a fatal error.</status>
+</test>
+<test id="s1-s3-t3" name="Send Reset reqeust with no cause">
+<tags>
+<tag>robot:exit</tag>
+</tags>
+<status status="FAIL" starttime="20190828 15:43:10.021" endtime="20190828 15:43:10.021" critical="yes">Test execution stopped due to a fatal error.</status>
 </test>
-<status status="PASS" starttime="20190806 16:38:12.728" endtime="20190806 16:38:48.994"></status>
+<status status="FAIL" starttime="20190828 15:43:10.017" endtime="20190828 15:43:10.023"></status>
 </suite>
-<doc>ORAN health check</doc>
-<status status="PASS" starttime="20190806 16:38:12.698" endtime="20190806 16:38:48.995"></status>
+<doc>ORAN Reset API - RIC to RAN</doc>
+<status status="FAIL" starttime="20190828 15:42:18.555" endtime="20190828 15:43:10.025"></status>
 </suite>
 <statistics>
 <total>
-<stat pass="1" fail="0">Critical Tests</stat>
-<stat pass="1" fail="0">All Tests</stat>
+<stat pass="0" fail="7">Critical Tests</stat>
+<stat pass="0" fail="7">All Tests</stat>
 </total>
 <tag>
+<stat pass="0" fail="1" info="combined" combined="NOT robot:exit">NOT robot:exit</stat>
+<stat pass="0" fail="6">robot:exit</stat>
 </tag>
 <suite>
-<stat pass="1" fail="0" id="s1" name="Health">Health</stat>
-<stat pass="1" fail="0" id="s1-s1" name="Get Health Check">Health.Get Health Check</stat>
+<stat pass="0" fail="7" id="s1" name="Reset RIC TO RAN">Reset RIC TO RAN</stat>
+<stat pass="0" fail="2" id="s1-s1" name="Reset Happy no cause">Reset RIC TO RAN.Reset Happy no cause</stat>
+<stat pass="0" fail="2" id="s1-s2" name="Reset Happy with cause">Reset RIC TO RAN.Reset Happy with cause</stat>
+<stat pass="0" fail="3" id="s1-s3" name="Reset unhappy">Reset RIC TO RAN.Reset unhappy</stat>
 </suite>
 </statistics>
 <errors>