blob: 029a673cfce555a2fc1ee1dfd7ddf884250ba06d [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_20_Nov_2013_00_33_20/OnosSanity4nodes_20_Nov_2013_00_33_20.log
7 Report Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/OnosSanity4nodes_20_Nov_2013_00_33_20.rpt
8 ONOS4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/ONOS4.session
9 ONOS2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/ONOS2.session
10 ONOS3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/ONOS3.session
11 ONOS1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/ONOS1.session
12 Zookeeper4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Zookeeper4.session
13 Cassandra1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Cassandra1.session
14 Cassandra2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Cassandra2.session
15 Cassandra3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Cassandra3.session
16 Cassandra4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Cassandra4.session
17 Zookeeper1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Zookeeper1.session
18 Zookeeper2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Zookeeper2.session
19 Zookeeper3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Zookeeper3.session
20 Mininet1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/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] [20 Nov 2013 00:33:59] Pulling latest code from github to all nodes
227[REPORT] [20 Nov 2013 00:37:45] COMMIT:
2287462869ddf8f66ae52eb815cd06e11ee0bbf45c4
229admin@autoONOS1:~/ONOS$
230[REPORT] [20 Nov 2013 00:37:45] Startup check Zookeeper1, Cassandra1, and ONOS1 connections
231*****************************
232 Result: Pass
233*****************************
234
235******************************
236 Result summary for Testcase2
237******************************
238
239[REPORT] [20 Nov 2013 00:37:51] 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] [20 Nov 2013 00:38:24] Test device discovery function, by attach/detach/move host h1 from s1->s6->s1.
249[REPORT] [20 Nov 2013 00:38:24] Check initially hostMAC exist on the mininet...
250[REPORT] [20 Nov 2013 00:38:27] Host is not reachable
251[REPORT] [20 Nov 2013 00:38:28] Found host h1 attached to switchDPID = 00:00:00:00:00:00:00:01
252[REPORT] [20 Nov 2013 00:38:28] IP discovered is ip_found ( 10.0.0.1 ).
253[REPORT] [20 Nov 2013 00:38:28] Yank out s1-eth1
254[REPORT] [20 Nov 2013 00:38:34] Host is not reachable
255[REPORT] [20 Nov 2013 00:38:35] Attempt to yank out s1-eth1 from s1 sucessfully
256[REPORT] [20 Nov 2013 00:38:35] Plug s1-eth1 into s6
257[REPORT] [20 Nov 2013 00:38:41] Host is not reachable
258[REPORT] [20 Nov 2013 00:38:42] Attempt to plug s1-eht1 to s6 succeded.
259[REPORT] [20 Nov 2013 00:38:42] IP discovered is ip_found ( 10.0.0.1 ).
260[REPORT] [20 Nov 2013 00:38:42] Move s1-eth1 back on to s1
261[REPORT] [20 Nov 2013 00:38:48] Host is not reachable
262[REPORT] [20 Nov 2013 00:38:49] Attempt to plug s1-eht1 back to s1 succeded.
263[REPORT] [20 Nov 2013 00:38:49] IP discovered is ip_found ( 10.0.0.1 ).
264*****************************
265 Result: Pass
266*****************************
267
268******************************
269 Result summary for Testcase3
270******************************
271
272[REPORT] [20 Nov 2013 00:38:49] Delete any flows from previous tests, then add flows from FLOWDEF file, then wait for switch flow tables to update
273[REPORT] [20 Nov 2013 00:38:52]
274-----
275switch: network 1 : 24 switches 24 active
276switch fail: network 1 should have 25 switches but has 24
277switch fail: network 1 should have 25 active switches but has 24
278link: total 28 links (correct : 50)
279link fail
280-----
281
282[REPORT] [20 Nov 2013 00:38:59]
283-----
284switch: network 1 : 24 switches 24 active
285switch fail: network 1 should have 25 switches but has 24
286switch fail: network 1 should have 25 active switches but has 24
287link: total 28 links (correct : 50)
288link fail
289-----
290
291[REPORT] [20 Nov 2013 00:39:04]
292-----
293switch: network 1 : 24 switches 24 active
294switch fail: network 1 should have 25 switches but has 24
295switch fail: network 1 should have 25 active switches but has 24
296link: total 28 links (correct : 50)
297link fail
298-----
299
300[REPORT] [20 Nov 2013 00:39:10]
301-----
302switch: network 1 : 24 switches 24 active
303switch fail: network 1 should have 25 switches but has 24
304switch fail: network 1 should have 25 active switches but has 24
305link: total 28 links (correct : 50)
306link fail
307-----
308
309[REPORT] [20 Nov 2013 00:39:16]
310-----
311switch: network 1 : 24 switches 24 active
312switch fail: network 1 should have 25 switches but has 24
313switch fail: network 1 should have 25 active switches but has 24
314link: total 28 links (correct : 50)
315link fail
316-----
317
318[REPORT] [20 Nov 2013 00:39:22]
319-----
320switch: network 1 : 24 switches 24 active
321switch fail: network 1 should have 25 switches but has 24
322switch fail: network 1 should have 25 active switches but has 24
323link: total 28 links (correct : 50)
324link fail
325-----
326
327[REPORT] [20 Nov 2013 00:39:27]
328-----
329switch: network 1 : 24 switches 24 active
330switch fail: network 1 should have 25 switches but has 24
331switch fail: network 1 should have 25 active switches but has 24
332link: total 28 links (correct : 50)
333link fail
334-----
335
336[REPORT] [20 Nov 2013 00:39:33]
337-----
338switch: network 1 : 24 switches 24 active
339switch fail: network 1 should have 25 switches but has 24
340switch fail: network 1 should have 25 active switches but has 24
341link: total 28 links (correct : 50)
342link fail
343-----
344
345[REPORT] [20 Nov 2013 00:39:38]
346-----
347switch: network 1 : 24 switches 24 active
348switch fail: network 1 should have 25 switches but has 24
349switch fail: network 1 should have 25 active switches but has 24
350link: total 28 links (correct : 50)
351link fail
352-----
353
354[REPORT] [20 Nov 2013 00:39:44]
355-----
356switch: network 1 : 24 switches 24 active
357switch fail: network 1 should have 25 switches but has 24
358switch fail: network 1 should have 25 active switches but has 24
359link: total 28 links (correct : 50)
360link fail
361-----
362
363[REPORT] [20 Nov 2013 00:40:05] Flow failed, waiting 10 seconds then making attempt number 2
364[REPORT] [20 Nov 2013 00:40:13] Flow failed, waiting 10 seconds then making attempt number 3
365[REPORT] [20 Nov 2013 00:40:21] Flow failed, waiting 10 seconds then making attempt number 4
366[REPORT] [20 Nov 2013 00:40:29] Flow failed, waiting 10 seconds then making attempt number 5
367[REPORT] [20 Nov 2013 00:40:36] Flow failed, waiting 10 seconds then making attempt number 6
368[REPORT] [20 Nov 2013 00:40:44] Flows failed check
369[REPORT] [20 Nov 2013 00:40:54] Host is not reachable
370[REPORT] [20 Nov 2013 00:41:04] Host is not reachable
371[REPORT] [20 Nov 2013 00:41:15] Host is not reachable
372[REPORT] [20 Nov 2013 00:41:15] PING TEST FAIL
373[REPORT] [20 Nov 2013 00:41:15] Flow check FAIL
374*****************************
375 Result: Failed
376*****************************
377
378******************************
379 Result summary for Testcase4
380******************************
381
382[REPORT] [20 Nov 2013 00:41:15] Remove ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts
383[REPORT] [20 Nov 2013 00:41:30]
384-----
385switch: network 1 : 25 switches 25 active
386link: total 6 links (correct : 50)
387link fail
388-----
389
390[REPORT] [20 Nov 2013 00:41:35]
391-----
392switch: network 1 : 25 switches 25 active
393link: total 6 links (correct : 50)
394link fail
395-----
396
397[REPORT] [20 Nov 2013 00:41:41]
398-----
399switch: network 1 : 25 switches 25 active
400link: total 6 links (correct : 50)
401link fail
402-----
403
404[REPORT] [20 Nov 2013 00:41:46]
405-----
406switch: network 1 : 25 switches 25 active
407link: total 6 links (correct : 50)
408link fail
409-----
410
411[REPORT] [20 Nov 2013 00:41:51]
412-----
413switch: network 1 : 25 switches 25 active
414link: total 6 links (correct : 50)
415link fail
416-----
417
418[REPORT] [20 Nov 2013 00:41:56]
419-----
420switch: network 1 : 25 switches 25 active
421link: total 6 links (correct : 50)
422link fail
423-----
424
425[REPORT] [20 Nov 2013 00:42:02]
426-----
427switch: network 1 : 25 switches 25 active
428link: total 6 links (correct : 50)
429link fail
430-----
431
432[REPORT] [20 Nov 2013 00:42:06]
433-----
434switch: network 1 : 25 switches 25 active
435link: total 6 links (correct : 50)
436link fail
437-----
438
439[REPORT] [20 Nov 2013 00:42:11]
440-----
441switch: network 1 : 25 switches 25 active
442link: total 50 links (correct : 50)
443-----
444
445[REPORT] [20 Nov 2013 00:42:22] Host is not reachable
446[REPORT] [20 Nov 2013 00:42:27] Host is not reachable
447[REPORT] [20 Nov 2013 00:42:37] Host is not reachable
448[REPORT] [20 Nov 2013 00:42:43] Time to complete ping test: 74.83 seconds
449*****************************
450 Result: Pass
451*****************************
452
453******************************
454 Result summary for Testcase5
455******************************
456
457[REPORT] [20 Nov 2013 00:42:43] Restore ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts
458[REPORT] [20 Nov 2013 00:42:50]
459-----
460switch: network 1 : 25 switches 25 active
461link: total 50 links (correct : 50)
462-----
463
464[REPORT] [20 Nov 2013 00:42:51] Time to complete ping test: 3.89 seconds
465*****************************
466 Result: Pass
467*****************************
468
469******************************
470 Result summary for Testcase6
471******************************
472
473[REPORT] [20 Nov 2013 00:42:51] Bring Link between s1 and s2 down, then ping until all hosts are reachable or fail after 10 attempts
474[REPORT] [20 Nov 2013 00:42:54]
475-----
476switch: network 1 : 25 switches 25 active
477link: total 48 links (correct : 48)
478-----
479
480[REPORT] [20 Nov 2013 00:43:04] Host is not reachable
481[REPORT] [20 Nov 2013 00:43:09] Host is not reachable
482[REPORT] [20 Nov 2013 00:43:19] Host is not reachable
483[REPORT] [20 Nov 2013 00:43:25] Time to complete ping test: 34.02 seconds
484*****************************
485 Result: Pass
486*****************************
487
488******************************
489 Result summary for Testcase7
490******************************
491
492[REPORT] [20 Nov 2013 00:43:25] Bring Link between s1 and s2 up, then ping until all hosts are reachable or fail after 10 attempts
493[REPORT] [20 Nov 2013 00:43:28]
494-----
495switch: network 1 : 25 switches 25 active
496link: total 50 links (correct : 50)
497-----
498
499[REPORT] [20 Nov 2013 00:43:29] Time to complete ping test: 1.3 seconds
500*****************************
501 Result: Pass
502*****************************
503
504
505*************************************
506 Test Execution Summary
507
508*************************************
509
510 Test Start : 20 Nov 2013 00:33:20
511 Test End : 20 Nov 2013 00:43:29
512 Execution Time : 0:10:09.269834
513 Total tests planned : 8
514 Total tests RUN : 8
515 Total Pass : 7
516 Total Fail : 1
517 Total No Result : 0
518 Success Percentage : 87%
519 Execution Result : 100%