blob: 0cc68d673b09c2a9ab5216712c2e90c1e85833b8 [file] [log] [blame]
admin9529d112013-11-22 15:00:05 -080012013-11-21 14:24:06,012 Cassandra1: INFO :
2 +----------------+
3------------------------------ { Script And Files } ------------------------------
4 +----------------+
5
6 Script Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/OnosSanity4nodes_21_Nov_2013_14_23_55.log
7 Report Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/OnosSanity4nodes_21_Nov_2013_14_23_55.rpt
8 ONOS4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/ONOS4.session
9 ONOS2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/ONOS2.session
10 ONOS3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/ONOS3.session
11 ONOS1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/ONOS1.session
12 Zookeeper4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/Zookeeper4.session
13 Cassandra1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/Cassandra1.session
14 Cassandra2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/Cassandra2.session
15 Cassandra3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/Cassandra3.session
16 Cassandra4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/Cassandra4.session
17 Zookeeper1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/Zookeeper1.session
18 Zookeeper2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/Zookeeper2.session
19 Zookeeper3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/Zookeeper3.session
20 Mininet1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_23_55/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 teston>
219
220
2212013-11-21 14:24:29,505 Cassandra1: INFO :
222****************************************
223Start of Test Case1 :
224
225Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-44-virtual x86_64)
226
227 * Documentation: https://help.ubuntu.com/
228
229 System information as of Thu Nov 21 14:24:06 PST 2013
230
231 System load: 0.64 Processes: 106
232 Usage of /: 23.2% of 19.67GB Users logged in: 1
233 Memory usage: 67% IP address for eth0: 10.128.100.1
234 Swap usage: 0%
235
236 Graph this data and manage this system at https://landscape.canonical.com/
237
238 Get cloud support with Ubuntu Advantage Cloud Guest:
239 http://www.ubuntu.com/business/services/cloud
240
241 Use Juju to deploy your cloud instances and workloads:
242 https://juju.ubuntu.com/#cloud-precise
243
244134 packages can be updated.
24569 updates are security updates.
246
247Last login: Thu Nov 21 14:23:56 2013 from 10.128.7.7
248
249
250]0;admin@autoONOS1: ~admin@autoONOS1:~$
251]0;admin@autoONOS1: ~admin@autoONOS1:~$
252]0;admin@autoONOS1: ~admin@autoONOS1:~$ ~/ONOS/start-cassandra.sh start
253
254]0;admin@autoONOS1: ~admin@autoONOS1:~$ ~/ONOS/start-cassandra.sh start
255Killed existing prosess (pid: 3787)
256rotate log:
257Starting cassandra
258]0;admin@autoONOS1: ~admin@autoONOS1:~$ 2013-11-21 14:26:32,712 Cassandra1: INFO : Checking if the startup was clean...
259****************************************
260
2612013-11-21 14:26:32,715 Cassandra1: INFO :
262---------------------------------------------
263Start of Step INIT : Initializing the test case :Checking if the startup was clean...
264---------------------------------------------
265
2662013-11-21 14:26:32,718 Cassandra1: INFO :
267---------------------------------------------
268Start of Step 1.1: Testing startup Zookeeper
269---------------------------------------------
270
2712013-11-21 14:26:33,488 Cassandra1: INFO :
272---------------------------------------------
273End of Step 1.1: Testing startup Zookeeper
274---------------------------------------------
275
276---------------------------------------------
277Start of Step 1.2: Testing startup Cassandra
278---------------------------------------------
279
280
281
282]0;admin@autoONOS1: ~admin@autoONOS1:~$
283]0;admin@autoONOS1: ~admin@autoONOS1:~$
284~/ONOS/start-cassandra.sh status
285
286]0;admin@autoONOS1: ~admin@autoONOS1:~$ ~/ONOS/start-cassandra.sh status
2871 instance of cassandra running
288Note: Ownership information does not include topology; for complete information, specify a keyspace
289
290Datacenter: datacenter1
291==========
292Address Rack Status State Load Owns Token
293 127605887595351923798765477786913079296
29410.128.100.1 rack1 Up Normal 67.45 KB 25.00% 0
29510.128.100.4 rack1 Up Normal 79.52 KB 25.00% 42535295865117307932921825928971026432
29610.128.100.5 rack1 Up Normal 69.23 KB 25.00% 85070591730234615865843651857942052864
29710.128.100.6 rack1 Up Normal 91.03 KB 25.00% 127605887595351923798765477786913079296
298
299]0;admin@autoONOS1: ~admin@autoONOS1:~$ 2013-11-21 14:26:35,306 Cassandra1: INFO :
300---------------------------------------------
301End of Step 1.2: Testing startup Cassandra
302---------------------------------------------
303
304---------------------------------------------
305Start of Step 1.3: Testing startup ONOS
306---------------------------------------------
307
3082013-11-21 14:27:06,529 Cassandra1: INFO :
309****************************************
310Start of Test Case2 :
3112013-11-21 14:27:06,533 Cassandra1: INFO : Checking if one MN host exists
312****************************************
313
3142013-11-21 14:27:06,535 Cassandra1: INFO :
315---------------------------------------------
316Start of Step INIT : Initializing the test case :Checking if one MN host exists
317---------------------------------------------
318
3192013-11-21 14:27:06,536 Cassandra1: INFO :
320---------------------------------------------
321Start of Step 2.1: Host IP Checking using checkIP
322---------------------------------------------
323
3242013-11-21 14:27:06,670 Cassandra1: INFO :
325---------------------------------------------
326End of Step 2.1: Host IP Checking using checkIP
327---------------------------------------------
328
329---------------------------------------------
330Start of Step 2.2: Verifying the result
331---------------------------------------------
332
3332013-11-21 14:27:06,676 Cassandra1: INFO :
334---------------------------------------------
335End of Step 2.2: Verifying the result
336---------------------------------------------
337
338---------------------------------------------
339Start of Step 2.3: assigning ONOS controllers to switches
340---------------------------------------------
341
3422013-11-21 14:27:40,017 Cassandra1: INFO :
343****************************************
344Start of Test Case21 :
3452013-11-21 14:27:43,682 Cassandra1: INFO : Yankout s6-eth1 (link to h1) from s1
346****************************************
347
3482013-11-21 14:27:50,330 Cassandra1: INFO : Plug s1-eth1 to s6
349****************************************
350
3512013-11-21 14:27:57,192 Cassandra1: INFO : Move s1-eth1 back to s1
352****************************************
353
3542013-11-21 14:28:03,899 Cassandra1: INFO :
355****************************************
356Start of Test Case3 :
3572013-11-21 14:29:17,692 Cassandra1: INFO : Taking care of these flows!
358****************************************
359
3602013-11-21 14:29:17,695 Cassandra1: INFO :
361---------------------------------------------
362Start of Step INIT : Initializing the test case :Taking care of these flows!
363---------------------------------------------
364
3652013-11-21 14:29:17,698 Cassandra1: INFO :
366---------------------------------------------
367Start of Step 3.1: Cleaning out any leftover flows...
368---------------------------------------------
369
3702013-11-21 14:29:32,398 Cassandra1: INFO : Checking flows
371****************************************
372
3732013-11-21 14:29:32,401 Cassandra1: INFO :
374---------------------------------------------
375Start of Step 3.1: Waiting
376---------------------------------------------
377
3782013-11-21 14:29:37,416 Cassandra1: INFO :
379---------------------------------------------
380Start of Step 3.1: Checking
381---------------------------------------------
382
3832013-11-21 14:29:48,253 Cassandra1: INFO :
384---------------------------------------------
385Start of Step 3.1: Waiting
386---------------------------------------------
387
3882013-11-21 14:29:53,262 Cassandra1: INFO :
389---------------------------------------------
390Start of Step 3.1: Checking
391---------------------------------------------
392
3932013-11-21 14:30:02,626 Cassandra1: INFO :
394---------------------------------------------
395Start of Step 3.1: Waiting
396---------------------------------------------
397
3982013-11-21 14:30:07,641 Cassandra1: INFO :
399---------------------------------------------
400Start of Step 3.1: Checking
401---------------------------------------------
402
4032013-11-21 14:30:16,145 Cassandra1: INFO :
404---------------------------------------------
405Start of Step 3.1: Waiting
406---------------------------------------------
407
4082013-11-21 14:30:21,173 Cassandra1: INFO :
409---------------------------------------------
410Start of Step 3.1: Checking
411---------------------------------------------
412
4132013-11-21 14:30:29,049 Cassandra1: INFO :
414---------------------------------------------
415Start of Step 3.1: Waiting
416---------------------------------------------
417
4182013-11-21 14:30:34,058 Cassandra1: INFO :
419---------------------------------------------
420Start of Step 3.1: Checking
421---------------------------------------------
422
4232013-11-21 14:30:42,557 Cassandra1: INFO :
424---------------------------------------------
425Start of Step 3.1: Waiting
426---------------------------------------------
427
4282013-11-21 14:30:47,569 Cassandra1: INFO :
429---------------------------------------------
430Start of Step 3.1: Checking
431---------------------------------------------
432
4332013-11-21 14:31:25,279 Cassandra1: INFO :
434---------------------------------------------
435End of Step 3.1: Checking
436---------------------------------------------
437
438---------------------------------------------
439Start of Step 3.2: Verifying the result
440---------------------------------------------
441
4422013-11-21 14:31:25,285 Cassandra1: INFO :
443****************************************
444Start of Test Case4 :
4452013-11-21 14:31:49,115 Cassandra1: INFO :
446****************************************
447Start of Test Case5 :
4482013-11-21 14:31:57,459 Cassandra1: INFO :
449****************************************
450Start of Test Case6 :
4512013-11-21 14:31:57,466 Cassandra1: INFO : Bringing Link down...
452****************************************
453
4542013-11-21 14:32:22,175 Cassandra1: INFO :
455****************************************
456Start of Test Case7 :
4572013-11-21 14:32:22,183 Cassandra1: INFO : Bringing Link up...
458****************************************
459
460exit
461exit
462logout
463Connection to 10.128.100.1 closed.