blob: c1b8a004ccbc405680846f588899483e74dbb705 [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_12_47_14/OnosSanity4nodes_21_Nov_2013_12_47_14.log
7 Report Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/OnosSanity4nodes_21_Nov_2013_12_47_14.rpt
8 ONOS4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/ONOS4.session
9 ONOS2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/ONOS2.session
10 ONOS3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/ONOS3.session
11 ONOS1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/ONOS1.session
12 Zookeeper4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/Zookeeper4.session
13 Cassandra1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/Cassandra1.session
14 Cassandra2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/Cassandra2.session
15 Cassandra3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/Cassandra3.session
16 Cassandra4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/Cassandra4.session
17 Zookeeper1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/Zookeeper1.session
18 Zookeeper2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/Zookeeper2.session
19 Zookeeper3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/Zookeeper3.session
20 Mininet1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_12_47_14/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 12:48:01] Pulling latest code from github to all nodes
227[REPORT] [21 Nov 2013 12:50:03] COMMIT:
22867174b8f2ccab135db02699ccdfc59e082b65490
229admin@autoONOS1:~/ONOS$
230[REPORT] [21 Nov 2013 12:50:03] 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 12:50:37] 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 12:51:10] Test device discovery function, by attach/detach/move host h1 from s1->s6->s1.
249[REPORT] [21 Nov 2013 12:51:10] Check initially hostMAC exist on the mininet...
250[REPORT] [21 Nov 2013 12:51:14] Host is not reachable
251[REPORT] [21 Nov 2013 12:51:14] Found host h1 attached to switchDPID = 00:00:00:00:00:00:00:01
252[REPORT] [21 Nov 2013 12:51:14] IP discovered is ip_found ( 10.0.0.1 ).
253[REPORT] [21 Nov 2013 12:51:14] Yank out s1-eth1
254[REPORT] [21 Nov 2013 12:51:20] Host is not reachable
255[REPORT] [21 Nov 2013 12:51:21] Attempt to yank out s1-eth1 from s1 sucessfully
256[REPORT] [21 Nov 2013 12:51:21] Plug s1-eth1 into s6
257[REPORT] [21 Nov 2013 12:51:27] Host is not reachable
258[REPORT] [21 Nov 2013 12:51:28] Attempt to plug s1-eht1 to s6 succeded.
259[REPORT] [21 Nov 2013 12:51:28] IP discovered is ip_found ( 10.0.0.1 ).
260[REPORT] [21 Nov 2013 12:51:28] Move s1-eth1 back on to s1
261[REPORT] [21 Nov 2013 12:51:34] Host is not reachable
262[REPORT] [21 Nov 2013 12:51:35] Attempt to plug s1-eht1 back to s1 succeded.
263[REPORT] [21 Nov 2013 12:51:35] 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] [21 Nov 2013 12:51:35] Delete any flows from previous tests, then add flows from FLOWDEF file, then wait for switch flow tables to update
273[REPORT] [21 Nov 2013 12:51:41]
274-----
275switch: network 1 : 25 switches 25 active
276link: total 50 links (correct : 50)
277-----
278
279[REPORT] [21 Nov 2013 12:52:14]
280 Time to add flows: 26.14 seconds
281*****************************
282 Result: Pass
283*****************************
284
285******************************
286 Result summary for Testcase4
287******************************
288
289[REPORT] [21 Nov 2013 12:52:15] Remove ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts
290[REPORT] [21 Nov 2013 12:52:22]
291-----
292switch: network 1 : 25 switches 25 active
293link: total 26 links (correct : 50)
294link fail
295-----
296
297[REPORT] [21 Nov 2013 12:52:29]
298-----
299switch: network 1 : 25 switches 25 active
300link: total 50 links (correct : 50)
301-----
302
303[REPORT] [21 Nov 2013 12:52:30] Time to complete ping test: 11.27 seconds
304*****************************
305 Result: Pass
306*****************************
307
308******************************
309 Result summary for Testcase5
310******************************
311
312[REPORT] [21 Nov 2013 12:52:30] Restore ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts
313[REPORT] [21 Nov 2013 12:52:38]
314-----
315switch: network 1 : 25 switches 25 active
316link: total 50 links (correct : 50)
317-----
318
319[REPORT] [21 Nov 2013 12:52:39] Time to complete ping test: 4.78 seconds
320*****************************
321 Result: Pass
322*****************************
323
324******************************
325 Result summary for Testcase6
326******************************
327
328[REPORT] [21 Nov 2013 12:52:39] Bring Link between s1 and s2 down, then ping until all hosts are reachable or fail after 10 attempts
329[REPORT] [21 Nov 2013 12:52:43]
330-----
331switch: network 1 : 25 switches 25 active
332link: total 48 links (correct : 48)
333-----
334
335[REPORT] [21 Nov 2013 12:52:44] Time to complete ping test: 5.04 seconds
336*****************************
337 Result: Pass
338*****************************
339
340******************************
341 Result summary for Testcase7
342******************************
343
344[REPORT] [21 Nov 2013 12:52:44] Bring Link between s1 and s2 up, then ping until all hosts are reachable or fail after 10 attempts
345[REPORT] [21 Nov 2013 12:52:48]
346-----
347switch: network 1 : 25 switches 25 active
348link: total 50 links (correct : 50)
349-----
350
351[REPORT] [21 Nov 2013 12:52:49] Time to complete ping test: 1.34 seconds
352*****************************
353 Result: Pass
354*****************************
355
356
357*************************************
358 Test Execution Summary
359
360*************************************
361
362 Test Start : 21 Nov 2013 12:47:14
363 Test End : 21 Nov 2013 12:52:49
364 Execution Time : 0:05:35.147680
365 Total tests planned : 8
366 Total tests RUN : 8
367 Total Pass : 8
368 Total Fail : 0
369 Total No Result : 0
370 Success Percentage : 100%
371 Execution Result : 100%