admin | 9529d11 | 2013-11-22 15:00:05 -0800 | [diff] [blame] | 1 | |
| 2 | +----------------+ |
| 3 | ------------------------------ { Script And Files } ------------------------------ |
| 4 | +----------------+ |
| 5 | |
| 6 | Script Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/OnosSanity4nodes_21_Nov_2013_17_18_16.log |
| 7 | Report Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/OnosSanity4nodes_21_Nov_2013_17_18_16.rpt |
| 8 | ONOS4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/ONOS4.session |
| 9 | ONOS2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/ONOS2.session |
| 10 | ONOS3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/ONOS3.session |
| 11 | ONOS1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/ONOS1.session |
| 12 | Zookeeper4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Zookeeper4.session |
| 13 | Cassandra1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Cassandra1.session |
| 14 | Cassandra2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Cassandra2.session |
| 15 | Cassandra3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Cassandra3.session |
| 16 | Cassandra4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Cassandra4.session |
| 17 | Zookeeper1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Zookeeper1.session |
| 18 | Zookeeper2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Zookeeper2.session |
| 19 | Zookeeper3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Zookeeper3.session |
| 20 | Mininet1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/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:18:53] Pulling latest code from github to all nodes |
| 227 | [REPORT] [21 Nov 2013 17:20:55] COMMIT:
|
| 228 | 67174b8f2ccab135db02699ccdfc59e082b65490
|
| 229 | ]0;admin@autoONOS1: ~/ONOSadmin@autoONOS1:~/ONOS$ |
| 230 | [REPORT] [21 Nov 2013 17:20:55] 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:21:29] 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:22:03] Test device discovery function, by attach/detach/move host h1 from s1->s6->s1. |
| 249 | [REPORT] [21 Nov 2013 17:22:03] Check initially hostMAC exist on the mininet... |
| 250 | [REPORT] [21 Nov 2013 17:22:06] Host is not reachable |
| 251 | [REPORT] [21 Nov 2013 17:22:06] Found host h1 attached to switchDPID = 00:00:00:00:00:00:00:01 |
| 252 | [REPORT] [21 Nov 2013 17:22:06] IP discovered is ip_found ( 10.0.0.1 ). |
| 253 | [REPORT] [21 Nov 2013 17:22:06] Yank out s1-eth1 |
| 254 | [REPORT] [21 Nov 2013 17:22:13] Host is not reachable |
| 255 | [REPORT] [21 Nov 2013 17:22:13] Attempt to yank out s1-eth1 from s1 sucessfully |
| 256 | [REPORT] [21 Nov 2013 17:22:13] Plug s1-eth1 into s6 |
| 257 | [REPORT] [21 Nov 2013 17:22:19] Host is not reachable |
| 258 | [REPORT] [21 Nov 2013 17:22:20] Attempt to plug s1-eht1 to s6 succeded. |
| 259 | [REPORT] [21 Nov 2013 17:22:20] IP discovered is ip_found ( 10.0.0.1 ). |
| 260 | [REPORT] [21 Nov 2013 17:22:20] Move s1-eth1 back on to s1 |
| 261 | [REPORT] [21 Nov 2013 17:22:26] Host is not reachable |
| 262 | [REPORT] [21 Nov 2013 17:22:27] Attempt to plug s1-eht1 back to s1 succeded. |
| 263 | [REPORT] [21 Nov 2013 17:22:27] 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 17:22:27] 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 17:22:32] |
| 274 | ----- |
| 275 | switch: network 1 : 25 switches 25 active |
| 276 | link: total 46 links (correct : 50) |
| 277 | link fail |
| 278 | ----- |
| 279 | |
| 280 | [REPORT] [21 Nov 2013 17:22:41] |
| 281 | ----- |
| 282 | switch: network 1 : 25 switches 25 active |
| 283 | link: total 46 links (correct : 50) |
| 284 | link fail |
| 285 | ----- |
| 286 | |
| 287 | [REPORT] [21 Nov 2013 17:22:48] |
| 288 | ----- |
| 289 | switch: network 1 : 25 switches 25 active |
| 290 | link: total 46 links (correct : 50) |
| 291 | link fail |
| 292 | ----- |
| 293 | |
| 294 | [REPORT] [21 Nov 2013 17:22:56] |
| 295 | ----- |
| 296 | switch: network 1 : 25 switches 25 active |
| 297 | link: total 46 links (correct : 50) |
| 298 | link fail |
| 299 | ----- |
| 300 | |
| 301 | [REPORT] [21 Nov 2013 17:23:03] |
| 302 | ----- |
| 303 | switch: network 1 : 25 switches 25 active |
| 304 | link: total 46 links (correct : 50) |
| 305 | link fail |
| 306 | ----- |
| 307 | |
| 308 | [REPORT] [21 Nov 2013 17:23:10] |
| 309 | ----- |
| 310 | switch: network 1 : 25 switches 25 active |
| 311 | link: total 46 links (correct : 50) |
| 312 | link fail |
| 313 | ----- |
| 314 | |
| 315 | [REPORT] [21 Nov 2013 17:23:17] |
| 316 | ----- |
| 317 | switch: network 1 : 25 switches 25 active |
| 318 | link: total 46 links (correct : 50) |
| 319 | link fail |
| 320 | ----- |
| 321 | |
| 322 | [REPORT] [21 Nov 2013 17:23:23] |
| 323 | ----- |
| 324 | switch: network 1 : 25 switches 25 active |
| 325 | link: total 46 links (correct : 50) |
| 326 | link fail |
| 327 | ----- |
| 328 | |
| 329 | [REPORT] [21 Nov 2013 17:23:30] |
| 330 | ----- |
| 331 | switch: network 1 : 25 switches 25 active |
| 332 | link: total 46 links (correct : 50) |
| 333 | link fail |
| 334 | ----- |
| 335 | |
| 336 | [REPORT] [21 Nov 2013 17:23:37] |
| 337 | ----- |
| 338 | switch: network 1 : 25 switches 25 active |
| 339 | link: total 46 links (correct : 50) |
| 340 | link fail |
| 341 | ----- |
| 342 | |
| 343 | [REPORT] [21 Nov 2013 17:24:03] Flow failed, waiting 10 seconds then making attempt number 2 |
| 344 | [REPORT] [21 Nov 2013 17:24:16] Flow failed, waiting 10 seconds then making attempt number 3 |
| 345 | [REPORT] [21 Nov 2013 17:24:28] Flow failed, waiting 10 seconds then making attempt number 4 |
| 346 | [REPORT] [21 Nov 2013 17:24:40] Flow failed, waiting 10 seconds then making attempt number 5 |
| 347 | [REPORT] [21 Nov 2013 17:24:52] Flow failed, waiting 10 seconds then making attempt number 6 |
| 348 | [REPORT] [21 Nov 2013 17:25:04] Flows failed check |
| 349 | [REPORT] [21 Nov 2013 17:25:14] Host is not reachable |
| 350 | [REPORT] [21 Nov 2013 17:25:24] Host is not reachable |
| 351 | [REPORT] [21 Nov 2013 17:25:34] Host is not reachable |
| 352 | [REPORT] [21 Nov 2013 17:25:34] PING TEST FAIL |
| 353 | [REPORT] [21 Nov 2013 17:25:34] Flow check FAIL |
| 354 | ***************************** |
| 355 | Result: Failed |
| 356 | ***************************** |
| 357 | |
| 358 | ****************************** |
| 359 | Result summary for Testcase4 |
| 360 | ****************************** |
| 361 | |
| 362 | [REPORT] [21 Nov 2013 17:25:34] Remove ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts |
| 363 | [REPORT] [21 Nov 2013 17:25:50] |
| 364 | ----- |
| 365 | switch: network 1 : 25 switches 25 active |
| 366 | link: total 24 links (correct : 50) |
| 367 | link fail |
| 368 | ----- |
| 369 | |
| 370 | [REPORT] [21 Nov 2013 17:25:56] |
| 371 | ----- |
| 372 | switch: network 1 : 25 switches 25 active |
| 373 | link: total 50 links (correct : 50) |
| 374 | ----- |
| 375 | |
| 376 | [REPORT] [21 Nov 2013 17:25:57] Time to complete ping test: 9.59 seconds |
| 377 | ***************************** |
| 378 | Result: Pass |
| 379 | ***************************** |
| 380 | |
| 381 | ****************************** |
| 382 | Result summary for Testcase5 |
| 383 | ****************************** |
| 384 | |
| 385 | [REPORT] [21 Nov 2013 17:25:57] Restore ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts |
| 386 | [REPORT] [21 Nov 2013 17:26:04] |
| 387 | ----- |
| 388 | switch: network 1 : 25 switches 25 active |
| 389 | link: total 50 links (correct : 50) |
| 390 | ----- |
| 391 | |
| 392 | [REPORT] [21 Nov 2013 17:26:05] Time to complete ping test: 4.12 seconds |
| 393 | ***************************** |
| 394 | Result: Pass |
| 395 | ***************************** |
| 396 | |
| 397 | ****************************** |
| 398 | Result summary for Testcase6 |
| 399 | ****************************** |
| 400 | |
| 401 | [REPORT] [21 Nov 2013 17:26:05] Bring Link between s1 and s2 down, then ping until all hosts are reachable or fail after 10 attempts |
| 402 | [REPORT] [21 Nov 2013 17:26:08] |
| 403 | ----- |
| 404 | switch: network 1 : 25 switches 25 active |
| 405 | link: total 48 links (correct : 48) |
| 406 | ----- |
| 407 | |
| 408 | [REPORT] [21 Nov 2013 17:26:18] Host is not reachable |
| 409 | [REPORT] [21 Nov 2013 17:26:23] Host is not reachable |
| 410 | [REPORT] [21 Nov 2013 17:26:29] Time to complete ping test: 24.06 seconds |
| 411 | ***************************** |
| 412 | Result: Pass |
| 413 | ***************************** |
| 414 | |
| 415 | ****************************** |
| 416 | Result summary for Testcase7 |
| 417 | ****************************** |
| 418 | |
| 419 | [REPORT] [21 Nov 2013 17:26:29] Bring Link between s1 and s2 up, then ping until all hosts are reachable or fail after 10 attempts |
| 420 | [REPORT] [21 Nov 2013 17:26:33] |
| 421 | ----- |
| 422 | switch: network 1 : 25 switches 25 active |
| 423 | link: total 50 links (correct : 50) |
| 424 | ----- |
| 425 | |
| 426 | [REPORT] [21 Nov 2013 17:26:33] Host is not reachable |
| 427 | [REPORT] [21 Nov 2013 17:26:39] Time to complete ping test: 6.16 seconds |
| 428 | ***************************** |
| 429 | Result: Pass |
| 430 | ***************************** |
| 431 | |
| 432 | |
| 433 | ************************************* |
| 434 | Test Execution Summary |
| 435 | |
| 436 | ************************************* |
| 437 | |
| 438 | Test Start : 21 Nov 2013 17:18:16 |
| 439 | Test End : 21 Nov 2013 17:26:39 |
| 440 | Execution Time : 0:08:22.922655 |
| 441 | Total tests planned : 8 |
| 442 | Total tests RUN : 8 |
| 443 | Total Pass : 7 |
| 444 | Total Fail : 1 |
| 445 | Total No Result : 0 |
| 446 | Success Percentage : 87% |
| 447 | Execution Result : 100% |