blob: 542bb0aa332cef9d09ea131754269a011058b611 [file] [log] [blame]
admin9529d112013-11-22 15:00:05 -08001
2 +----------------+
3------------------------------ { Script And Files } ------------------------------
4 +----------------+
5
6 Script Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/OnosSanity4nodes_21_Nov_2013_17_40_12.log
7 Report Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/OnosSanity4nodes_21_Nov_2013_17_40_12.rpt
8 ONOS4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/ONOS4.session
9 ONOS2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/ONOS2.session
10 ONOS3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/ONOS3.session
11 ONOS1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/ONOS1.session
12 Zookeeper4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/Zookeeper4.session
13 Cassandra1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/Cassandra1.session
14 Cassandra2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/Cassandra2.session
15 Cassandra3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/Cassandra3.session
16 Cassandra4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/Cassandra4.session
17 Zookeeper1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/Zookeeper1.session
18 Zookeeper2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/Zookeeper2.session
19 Zookeeper3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/Zookeeper3.session
20 Mininet1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_40_12/Mininet1.session
21 Test Script :/home/admin/ONLabTest/TestON/Tests/OnosSanity4nodes.py
22 Test Params : /home/admin/ONLabTest/TestON/Tests/OnosSanity4nodes.params
23 Topology : /home/admin/ONLabTest/TestON/Tests/OnosSanity4nodes.tpl
24 +------------------+
25--------------------------- { Script Exec Params } ---------------------------
26 +------------------+
27
28
29 'CTRL':
30 'ip2': '10.128.100.4'
31 'ip3': '10.128.100.5'
32 'ip1': '10.128.100.1'
33 'ip4': '10.128.100.6'
34 'port4': '6633'
35 'port2': '6633'
36 'port3': '6633'
37 'port1': '6633'
38
39 'NR_Links': '50'
40 'LINK':
41 'begin': 's1'
42 'end': 's2'
43
44 'RESTCALL':
45 'restIP1': '10.128.100.1'
46 'restIP2': '10.128.100.5'
47 'restPort': '8080'
48 'restURL': '/wm/device/'
49
50 'CASE1':
51 'destination': 'h6'
52
53 'PLUG':
54 'sw1': 's1'
55 'intf': 's1-eth1'
56 'sw6': 's6'
57
58 'PING':
59 'source2': 'h8'
60 'source1': 'h6'
61 'target2': 'h33'
62 'target1': 'h31'
63
64 'FLOWDEF': '~/flowdef_files/Center_Triangle/flowdef_20.txt'
65 'testcases': '1
66 2
67 21
68 3
69 4
70 5
71 6
72 7'
73 'RestIP': '10.128.100.1'
74 'NR_Switches': '25'
75 'YANK':
76 'hostmac': '00:00:00:00:00:01'
77 'sw1': 's1'
78 'hostname': 'h1'
79 'intf': 's1-eth1'
80 'sw6': 's6'
81
82
83
84 +---------------+
85----------------------------- { Components Used } -----------------------------
86 +---------------+
87 ONOS4
88 ONOS2
89 ONOS3
90 ONOS1
91 Zookeeper4
92 Cassandra1
93 Cassandra2
94 Cassandra3
95 Cassandra4
96 Zookeeper1
97 Zookeeper2
98 Zookeeper3
99 Mininet1
100
101
102 +--------+
103---------------------------- { Topology } ----------------------------
104 +--------+
105
106
107 'ONOS4':
108 'connect_order': '12'
109 'host': '10.128.100.6'
110 'user': 'admin'
111 'COMPONENTS': ''
112 'password': None
113 'type': 'OnosCliDriver'
114
115 'ONOS2':
116 'connect_order': '10'
117 'host': '10.128.100.4'
118 'user': 'admin'
119 'COMPONENTS': ''
120 'password': None
121 'type': 'OnosCliDriver'
122
123 'ONOS3':
124 'connect_order': '11'
125 'host': '10.128.100.5'
126 'user': 'admin'
127 'COMPONENTS': ''
128 'password': None
129 'type': 'OnosCliDriver'
130
131 'ONOS1':
132 'connect_order': '9'
133 'host': '10.128.100.1'
134 'user': 'admin'
135 'COMPONENTS': ''
136 'password': None
137 'type': 'OnosCliDriver'
138
139 'Zookeeper4':
140 'connect_order': '4'
141 'host': '10.128.100.6'
142 'user': 'admin'
143 'COMPONENTS': ''
144 'password': None
145 'type': 'ZookeeperCliDriver'
146
147 'Cassandra1':
148 'connect_order': '5'
149 'host': '10.128.100.1'
150 'user': 'admin'
151 'COMPONENTS': ''
152 'password': None
153 'type': 'CassandraCliDriver'
154
155 'Cassandra2':
156 'connect_order': '6'
157 'host': '10.128.100.4'
158 'user': 'admin'
159 'COMPONENTS': ''
160 'password': None
161 'type': 'CassandraCliDriver'
162
163 'Cassandra3':
164 'connect_order': '7'
165 'host': '10.128.100.5'
166 'user': 'admin'
167 'COMPONENTS': ''
168 'password': None
169 'type': 'CassandraCliDriver'
170
171 'Cassandra4':
172 'connect_order': '8'
173 'host': '10.128.100.6'
174 'user': 'admin'
175 'COMPONENTS': ''
176 'password': None
177 'type': 'CassandraCliDriver'
178
179 'Zookeeper1':
180 'connect_order': '1'
181 'host': '10.128.100.1'
182 'user': 'admin'
183 'COMPONENTS': ''
184 'password': None
185 'type': 'ZookeeperCliDriver'
186
187 'Zookeeper2':
188 'connect_order': '2'
189 'host': '10.128.100.4'
190 'user': 'admin'
191 'COMPONENTS': ''
192 'password': None
193 'type': 'ZookeeperCliDriver'
194
195 'Zookeeper3':
196 'connect_order': '3'
197 'host': '10.128.100.5'
198 'user': 'admin'
199 'COMPONENTS': ''
200 'password': None
201 'type': 'ZookeeperCliDriver'
202
203 'Mininet1':
204 'connect_order': '13'
205 'host': '10.128.100.11'
206 'user': 'admin'
207 'COMPONENTS':
208 'arg1': '--custom ~/mininet/custom/topo-onos4node.py'
209 'arg2': '--topo mytopo --arp'
210 'controller': 'remote'
211
212 'password': None
213 'type': 'MininetCliDriver'
214
215
216------------------------------------------------------------
217
218******************************
219 CASE INIT
220******************************
221
222******************************
223 Result summary for Testcase1
224******************************
225
226[REPORT] [21 Nov 2013 17:40:49] Pulling latest code from github to all nodes
227[REPORT] [21 Nov 2013 17:42:51] COMMIT:
22867174b8f2ccab135db02699ccdfc59e082b65490
229]0;admin@autoONOS1: ~/ONOSadmin@autoONOS1:~/ONOS$
230[REPORT] [21 Nov 2013 17:42:51] Startup check Zookeeper1, Cassandra1, and ONOS1 connections
231*****************************
232 Result: Pass
233*****************************
234
235******************************
236 Result summary for Testcase2
237******************************
238
239[REPORT] [21 Nov 2013 17:43:25] Check if mininet started properly, then assign controllers ONOS 1,2,3 and 4
240*****************************
241 Result: Pass
242*****************************
243
244******************************
245 Result summary for Testcase21
246******************************
247
248[REPORT] [21 Nov 2013 17:43:58] Test device discovery function, by attach/detach/move host h1 from s1->s6->s1.
249[REPORT] [21 Nov 2013 17:43:58] Check initially hostMAC exist on the mininet...
250[REPORT] [21 Nov 2013 17:44:01] Host is not reachable
251[REPORT] [21 Nov 2013 17:44:02] Found host h1 attached to switchDPID = 00:00:00:00:00:00:00:01
252[REPORT] [21 Nov 2013 17:44:02] IP discovered is ip_found ( 10.0.0.1 ).
253[REPORT] [21 Nov 2013 17:44:02] Yank out s1-eth1
254[REPORT] [21 Nov 2013 17:44:08] Host is not reachable
255[REPORT] [21 Nov 2013 17:44:08] Attempt to yank out s1-eth1 from s1 sucessfully
256[REPORT] [21 Nov 2013 17:44:08] Plug s1-eth1 into s6
257[REPORT] [21 Nov 2013 17:44:14] Host is not reachable
258[REPORT] [21 Nov 2013 17:44:15] Attempt to plug s1-eth1 to s6 FAILED
259[REPORT] [21 Nov 2013 17:44:15] Move s1-eth1 back on to s1
260[REPORT] [21 Nov 2013 17:44:21] Host is not reachable
261[REPORT] [21 Nov 2013 17:44:22] Attempt to plug s1-eht1 back to s1 succeded.
262[REPORT] [21 Nov 2013 17:44:22] IP discovered is ip_found ( 10.0.0.1 ).
263*****************************
264 Result: Pass
265*****************************
266
267******************************
268 Result summary for Testcase3
269******************************
270
271[REPORT] [21 Nov 2013 17:44:22] Delete any flows from previous tests, then add flows from FLOWDEF file, then wait for switch flow tables to update
272[REPORT] [21 Nov 2013 17:44:28]
273-----
274switch: network 1 : 25 switches 25 active
275link: total 50 links (correct : 50)
276-----
277
278[REPORT] [21 Nov 2013 17:44:59]
279 Time to add flows: 24.78 seconds
280*****************************
281 Result: Pass
282*****************************
283
284******************************
285 Result summary for Testcase4
286******************************
287
288[REPORT] [21 Nov 2013 17:45:00] Remove ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts
289[REPORT] [21 Nov 2013 17:45:08]
290-----
291switch: network 1 : 25 switches 25 active
292link: total 24 links (correct : 50)
293link fail
294-----
295
296[REPORT] [21 Nov 2013 17:45:15]
297-----
298switch: network 1 : 25 switches 25 active
299link: total 50 links (correct : 50)
300-----
301
302[REPORT] [21 Nov 2013 17:45:25] Host is not reachable
303[REPORT] [21 Nov 2013 17:45:30] Host is not reachable
304[REPORT] [21 Nov 2013 17:45:36] Time to complete ping test: 31.63 seconds
305*****************************
306 Result: Pass
307*****************************
308
309******************************
310 Result summary for Testcase5
311******************************
312
313[REPORT] [21 Nov 2013 17:45:36] Restore ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts
314[REPORT] [21 Nov 2013 17:45:43]
315-----
316switch: network 1 : 25 switches 25 active
317link: total 50 links (correct : 50)
318-----
319
320[REPORT] [21 Nov 2013 17:45:43] Host is not reachable
321[REPORT] [21 Nov 2013 17:45:49] Time to complete ping test: 10.0 seconds
322*****************************
323 Result: Pass
324*****************************
325
326******************************
327 Result summary for Testcase6
328******************************
329
330[REPORT] [21 Nov 2013 17:45:49] Bring Link between s1 and s2 down, then ping until all hosts are reachable or fail after 10 attempts
331[REPORT] [21 Nov 2013 17:45:53]
332-----
333switch: network 1 : 25 switches 25 active
334link: total 48 links (correct : 48)
335-----
336
337[REPORT] [21 Nov 2013 17:45:53] Host is not reachable
338[REPORT] [21 Nov 2013 17:46:03] Host is not reachable
339[REPORT] [21 Nov 2013 17:46:09] Time to complete ping test: 20.37 seconds
340*****************************
341 Result: Pass
342*****************************
343
344******************************
345 Result summary for Testcase7
346******************************
347
348[REPORT] [21 Nov 2013 17:46:09] Bring Link between s1 and s2 up, then ping until all hosts are reachable or fail after 10 attempts
349[REPORT] [21 Nov 2013 17:46:12]
350-----
351switch: network 1 : 25 switches 25 active
352link: total 50 links (correct : 50)
353-----
354
355[REPORT] [21 Nov 2013 17:46:14] Time to complete ping test: 1.34 seconds
356*****************************
357 Result: Pass
358*****************************
359
360
361*************************************
362 Test Execution Summary
363
364*************************************
365
366 Test Start : 21 Nov 2013 17:40:12
367 Test End : 21 Nov 2013 17:46:14
368 Execution Time : 0:06:01.685252
369 Total tests planned : 8
370 Total tests RUN : 8
371 Total Pass : 8
372 Total Fail : 0
373 Total No Result : 0
374 Success Percentage : 100%
375 Execution Result : 100%