blob: 409f32e1ce53e21e0723df87425067792c64eb2b [file] [log] [blame]
Kailash Khalasicdcda3a2015-07-01 17:10:45 +00001<?xml version="1.0" encoding="UTF-8"?>
2<robot generated="20150701 17:09:18.724" generator="Robot 2.8.7 (Python 2.7.10 on linux2)">
3<suite source="/tmp/ONLabTest/TestON/RobotTests/ScalePOC.robot" id="s1" name="ScalePOC">
4<kw type="setup" name="ONOS Suite Setup">
5<doc>Transfers the ONOS dist over to the test vm and start the controller. We will leverage the bash script, "onos-install" to do this.</doc>
6<arguments>
7<arg>${CONTROLLER_IP}</arg>
8<arg>${CONTROLLER_USER}</arg>
9</arguments>
10<kw type="kw" name="Create Controller IP List">
11<doc>Creates a list of controller ips for a cluster. When creating a cluster, be sure to set each variable to %{OC} env vars in the variables section</doc>
12<arguments>
13</arguments>
14<kw type="kw" name="@{controller_list} = BuiltIn.Create List">
15<doc>Returns a list containing given items.</doc>
16<arguments>
17<arg>${CONTROLLER_IP}</arg>
18</arguments>
19<msg timestamp="20150701 17:09:18.928" level="INFO">@{controller_list} = [ 10.0.0.152 ]</msg>
20<status status="PASS" endtime="20150701 17:09:18.928" starttime="20150701 17:09:18.928"></status>
21</kw>
22<kw type="kw" name="BuiltIn.Set Suite Variable">
23<doc>Makes a variable available everywhere within the scope of the current suite.</doc>
24<arguments>
25<arg>@{controller_list}</arg>
26</arguments>
27<msg timestamp="20150701 17:09:18.929" level="INFO">@{controller_list} = [ 10.0.0.152 ]</msg>
28<status status="PASS" endtime="20150701 17:09:18.929" starttime="20150701 17:09:18.928"></status>
29</kw>
30<status status="PASS" endtime="20150701 17:09:18.929" starttime="20150701 17:09:18.927"></status>
31</kw>
32<kw type="kw" name="${rc} = OperatingSystem.Run And Return Rc">
33<doc>Runs the given command in the system and returns the return code.</doc>
34<arguments>
35<arg>onos-package</arg>
36</arguments>
37<msg timestamp="20150701 17:09:18.937" level="INFO">Running command 'onos-package 2&gt;&amp;1'</msg>
38<status status="FAIL" endtime="20150701 17:09:21.094" starttime="20150701 17:09:18.929"></status>
39</kw>
40<status status="FAIL" endtime="20150701 17:09:21.100" starttime="20150701 17:09:18.924"></status>
41</kw>
42<test id="s1-t1" name="Find Max Switches By Scaling">
43<doc>Find the max number of switches from 10 until reaching 20 in steps of 10. The following checks are made through REST APIs:
44- Verify device count is correct
45- Verify device status is available
46- Verify device roles are MASTER (default role in case of standalone controller)
47- Verify topology recognizes corret number of devices (Through api "/topology")
48- Observe each device individually
49- Observe links, hosts, and flows through the controller
50- Observe device info at lower level on mininet (Written for PoC). Shows flows, links, and ports. Checks can be easily implemented at that level as well
51- STOP Mininet Topo
52- Verify device count is zero
53- Verify topology sees no devices (Through api "/topology")</doc>
54<tags>
55<tag>done</tag>
56</tags>
57<status status="FAIL" endtime="20150701 17:09:21.103" critical="yes" starttime="20150701 17:09:21.101">Test execution stopped due to a fatal error.</status>
58</test>
59<kw type="teardown" name="ONOS Suite Teardown">
60<doc>Stop ONOS on Controller VMs and grabs karaf logs on each controller (put them in /tmp)</doc>
61<arguments>
62</arguments>
63<kw type="kw" name="${rc} = OperatingSystem.Run And Return Rc">
64<doc>Runs the given command in the system and returns the return code.</doc>
65<arguments>
66<arg>onos-kill</arg>
67</arguments>
68<msg timestamp="20150701 17:09:21.114" level="INFO">Running command 'onos-kill 2&gt;&amp;1'</msg>
69<msg timestamp="20150701 17:09:21.371" level="INFO">${rc} = 1</msg>
70<status status="PASS" endtime="20150701 17:09:21.370" starttime="20150701 17:09:21.105"></status>
71</kw>
72<errors>
73<msg timestamp="20150701 17:09:21.372" level="ERROR">Execution stopped by user.</msg>
74</errors>
75</robot>