1 <?xml version="1.0" encoding="UTF-8"?>
2 <robot generator="Robot 3.1.2 (Python 3.6.8 on linux)" generated="20190730 12:12:15.455" rpa="false">
3 <suite id="s1" name="Setup failure" source="/home/ubuntu/PycharmProjects/Oran/Unhappy/Setup_failure.robot">
4 <kw name="Start dockers" type="setup">
5 <kw name="Run And Return Rc And Output" library="OperatingSystem">
6 <doc>Runs the given command in the system and returns the RC and output.</doc>
8 <arg>${run_script}</arg>
10 <msg timestamp="20190730 12:12:16.856" level="INFO">Running command '/home/ubuntu/run.sh 2>&1'.</msg>
11 <status status="PASS" starttime="20190730 12:12:16.836" endtime="20190730 12:12:39.116"></status>
13 <kw name="Run And Return Rc And Output" library="OperatingSystem">
14 <doc>Runs the given command in the system and returns the RC and output.</doc>
16 <arg>${docker_command}</arg>
21 <msg timestamp="20190730 12:12:39.119" level="INFO">Running command 'docker ps | grep snapshot | wc --lines 2>&1'.</msg>
22 <msg timestamp="20190730 12:12:39.175" level="INFO">${result} = (0, '4')</msg>
23 <status status="PASS" starttime="20190730 12:12:39.116" endtime="20190730 12:12:39.175"></status>
25 <kw name="Should Be Equal As Integers" library="BuiltIn">
26 <doc>Fails if objects are unequal after converting them to integers.</doc>
28 <arg>${result[1]}</arg>
31 <status status="PASS" starttime="20190730 12:12:39.175" endtime="20190730 12:12:39.176"></status>
33 <status status="PASS" starttime="20190730 12:12:16.836" endtime="20190730 12:12:39.176"></status>
35 <test id="s1-t1" name="Post Request setup node b x2-setup - setup failure">
36 <kw name="Set Headers" library="REST">
40 <doc>*Sets new request headers or updates the existing.*</doc>
44 <status status="PASS" starttime="20190730 12:12:39.177" endtime="20190730 12:12:39.178"></status>
46 <kw name="Post" library="REST">
50 <doc>*Sends a POST request to the endpoint.*</doc>
52 <arg>/v1/nodeb/x2-setup</arg>
55 <status status="PASS" starttime="20190730 12:12:39.178" endtime="20190730 12:12:39.261"></status>
57 <kw name="Sleep" library="BuiltIn">
58 <doc>Pauses the test executed for the given time.</doc>
62 <msg timestamp="20190730 12:12:40.266" level="INFO">Slept 1 second</msg>
63 <status status="PASS" starttime="20190730 12:12:39.265" endtime="20190730 12:12:40.266"></status>
65 <kw name="Post" library="REST">
69 <doc>*Sends a POST request to the endpoint.*</doc>
71 <arg>/v1/nodeb/x2-setup</arg>
74 <status status="PASS" starttime="20190730 12:12:40.268" endtime="20190730 12:12:40.276"></status>
76 <kw name="Sleep" library="BuiltIn">
77 <doc>Pauses the test executed for the given time.</doc>
81 <msg timestamp="20190730 12:12:41.278" level="INFO">Slept 1 second</msg>
82 <status status="PASS" starttime="20190730 12:12:40.277" endtime="20190730 12:12:41.278"></status>
84 <kw name="Get" library="REST">
88 <doc>*Sends a GET request to the endpoint.*</doc>
90 <arg>/v1/nodeb/test1</arg>
92 <status status="PASS" starttime="20190730 12:12:41.278" endtime="20190730 12:12:41.293"></status>
94 <kw name="Integer" library="REST">
98 <doc>*Asserts the field as JSON integer.*</doc>
100 <arg>response status</arg>
103 <status status="PASS" starttime="20190730 12:12:41.293" endtime="20190730 12:12:41.295"></status>
105 <kw name="String" library="REST">
107 <tag>assertions</tag>
109 <doc>*Asserts the field as JSON string.*</doc>
111 <arg>response body connectionStatus</arg>
112 <arg>CONNECTED_SETUP_FAILED</arg>
114 <status status="PASS" starttime="20190730 12:12:41.296" endtime="20190730 12:12:41.296"></status>
116 <kw name="String" library="REST">
118 <tag>assertions</tag>
120 <doc>*Asserts the field as JSON string.*</doc>
122 <arg>response body failureType</arg>
123 <arg>X2_SETUP_FAILURE</arg>
125 <status status="PASS" starttime="20190730 12:12:41.297" endtime="20190730 12:12:41.297"></status>
127 <kw name="String" library="REST">
129 <tag>assertions</tag>
131 <doc>*Asserts the field as JSON string.*</doc>
133 <arg>response body setupFailure networkLayerCause</arg>
134 <arg>HO_TARGET_NOT_ALLOWED</arg>
136 <status status="PASS" starttime="20190730 12:12:41.297" endtime="20190730 12:12:41.298"></status>
138 <status status="PASS" starttime="20190730 12:12:39.176" endtime="20190730 12:12:41.298" critical="yes"></status>
140 <status status="PASS" starttime="20190730 12:12:15.463" endtime="20190730 12:12:41.302"></status>
144 <stat pass="1" fail="0">Critical Tests</stat>
145 <stat pass="1" fail="0">All Tests</stat>
150 <stat pass="1" fail="0" id="s1" name="Setup failure">Setup failure</stat>