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_14_03_54/OnosSanity4nodes_21_Nov_2013_14_03_54.log |
| 7 | Report Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/OnosSanity4nodes_21_Nov_2013_14_03_54.rpt |
| 8 | ONOS4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/ONOS4.session |
| 9 | ONOS2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/ONOS2.session |
| 10 | ONOS3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/ONOS3.session |
| 11 | ONOS1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/ONOS1.session |
| 12 | Zookeeper4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/Zookeeper4.session |
| 13 | Cassandra1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/Cassandra1.session |
| 14 | Cassandra2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/Cassandra2.session |
| 15 | Cassandra3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/Cassandra3.session |
| 16 | Cassandra4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/Cassandra4.session |
| 17 | Zookeeper1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/Zookeeper1.session |
| 18 | Zookeeper2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/Zookeeper2.session |
| 19 | Zookeeper3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/Zookeeper3.session |
| 20 | Mininet1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_14_03_54/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 | ****************************** |
| 220 | CASE INIT |
| 221 | ****************************** |
| 222 | |
| 223 | 2013-11-21 14:03:54,821 - OnosSanity4nodes - INFO - Creating component Handle: Zookeeper1 |
| 224 | 2013-11-21 14:03:54,879 - OnosSanity4nodes - INFO - Password not required logged in |
| 225 | 2013-11-21 14:03:54,982 - OnosSanity4nodes - INFO - Starting Zookeeper |
| 226 | 2013-11-21 14:03:57,588 - OnosSanity4nodes - WARNING - zookeeper ... already running |
| 227 | 2013-11-21 14:03:57,589 - OnosSanity4nodes - INFO - Creating component Handle: Zookeeper2 |
| 228 | 2013-11-21 14:03:57,645 - OnosSanity4nodes - INFO - Password not required logged in |
| 229 | 2013-11-21 14:03:57,747 - OnosSanity4nodes - INFO - Starting Zookeeper |
| 230 | 2013-11-21 14:04:00,672 - OnosSanity4nodes - WARNING - zookeeper ... already running |
| 231 | 2013-11-21 14:04:00,673 - OnosSanity4nodes - INFO - Creating component Handle: Zookeeper3 |
| 232 | 2013-11-21 14:04:00,731 - OnosSanity4nodes - INFO - Password not required logged in |
| 233 | 2013-11-21 14:04:00,833 - OnosSanity4nodes - INFO - Starting Zookeeper |
| 234 | 2013-11-21 14:04:03,572 - OnosSanity4nodes - WARNING - zookeeper ... already running |
| 235 | 2013-11-21 14:04:03,572 - OnosSanity4nodes - INFO - Creating component Handle: Zookeeper4 |
| 236 | 2013-11-21 14:04:03,629 - OnosSanity4nodes - INFO - Password not required logged in |
| 237 | 2013-11-21 14:04:03,733 - OnosSanity4nodes - INFO - Starting Zookeeper |
| 238 | 2013-11-21 14:04:06,446 - OnosSanity4nodes - WARNING - zookeeper ... already running |
| 239 | 2013-11-21 14:04:06,447 - OnosSanity4nodes - INFO - Creating component Handle: Cassandra1 |
| 240 | 2013-11-21 14:04:06,507 - OnosSanity4nodes - INFO - Password not required logged in |
| 241 | 2013-11-21 14:04:06,610 - OnosSanity4nodes - INFO - Creating component Handle: Cassandra2 |
| 242 | 2013-11-21 14:04:06,668 - OnosSanity4nodes - INFO - Password not required logged in |
| 243 | 2013-11-21 14:04:06,771 - OnosSanity4nodes - INFO - Creating component Handle: Cassandra3 |
| 244 | 2013-11-21 14:04:06,815 - OnosSanity4nodes - INFO - Password not required logged in |
| 245 | 2013-11-21 14:04:06,918 - OnosSanity4nodes - INFO - Creating component Handle: Cassandra4 |
| 246 | 2013-11-21 14:04:06,970 - OnosSanity4nodes - INFO - Password not required logged in |
| 247 | 2013-11-21 14:04:07,073 - OnosSanity4nodes - INFO - Creating component Handle: ONOS1 |
| 248 | 2013-11-21 14:04:07,136 - OnosSanity4nodes - INFO - Password not required logged in |
| 249 | 2013-11-21 14:04:07,239 - OnosSanity4nodes - INFO - Creating component Handle: ONOS2 |
| 250 | 2013-11-21 14:04:07,294 - OnosSanity4nodes - INFO - Password not required logged in |
| 251 | 2013-11-21 14:04:07,397 - OnosSanity4nodes - INFO - Creating component Handle: ONOS3 |
| 252 | 2013-11-21 14:04:07,454 - OnosSanity4nodes - INFO - Password not required logged in |
| 253 | 2013-11-21 14:04:07,557 - OnosSanity4nodes - INFO - Creating component Handle: ONOS4 |
| 254 | 2013-11-21 14:04:07,624 - OnosSanity4nodes - INFO - Password not required logged in |
| 255 | 2013-11-21 14:04:07,728 - OnosSanity4nodes - INFO - Creating component Handle: Mininet1 |
| 256 | 2013-11-21 14:04:07,791 - OnosSanity4nodes - INFO - Password not required logged in |
| 257 | 2013-11-21 14:04:07,893 - OnosSanity4nodes - INFO - Clearing any residual state or processes |
| 258 | 2013-11-21 14:04:11,031 - OnosSanity4nodes - INFO - Clean |
| 259 | 2013-11-21 14:04:11,031 - OnosSanity4nodes - INFO - building fresh mininet |
| 260 | 2013-11-21 14:04:11,278 - OnosSanity4nodes - INFO - Creating network
|
| 261 | 2013-11-21 14:04:11,279 - OnosSanity4nodes - INFO - Adding controller
|
| 262 | 2013-11-21 14:04:11,333 - OnosSanity4nodes - INFO - Adding hosts:
|
| 263 | 2013-11-21 14:04:11,648 - OnosSanity4nodes - INFO - Adding switches:
|
| 264 | 2013-11-21 14:04:12,672 - OnosSanity4nodes - INFO - Adding links:
|
| 265 | 2013-11-21 14:04:18,638 - OnosSanity4nodes - INFO - Configuring hosts
|
| 266 | 2013-11-21 14:04:23,728 - OnosSanity4nodes - INFO - Starting controller
|
| 267 | 2013-11-21 14:04:23,728 - OnosSanity4nodes - INFO - Starting 25 switches
|
| 268 | 2013-11-21 14:04:30,455 - OnosSanity4nodes - INFO - Starting CLI:
|
| 269 | 2013-11-21 14:04:30,471 - OnosSanity4nodes - INFO - mininet built |
| 270 | |
| 271 | |
| 272 | ****************************** |
| 273 | Result summary for Testcase1 |
| 274 | ****************************** |
| 275 | |
| 276 | 2013-11-21 14:04:30,500 - OnosSanity4nodes - INFO - Stopping onos |
| 277 | 2013-11-21 14:04:31,426 - OnosSanity4nodes - WARNING - ONOS wasn't running |
| 278 | 2013-11-21 14:04:33,842 - OnosSanity4nodes - INFO - Already up to date |
| 279 | 2013-11-21 14:04:33,843 - OnosSanity4nodes - INFO - Stopping onos |
| 280 | 2013-11-21 14:04:34,613 - OnosSanity4nodes - WARNING - ONOS wasn't running |
| 281 | 2013-11-21 14:04:36,989 - OnosSanity4nodes - INFO - Already up to date |
| 282 | 2013-11-21 14:04:36,990 - OnosSanity4nodes - INFO - Stopping onos |
| 283 | 2013-11-21 14:04:38,045 - OnosSanity4nodes - WARNING - ONOS wasn't running |
| 284 | 2013-11-21 14:04:40,444 - OnosSanity4nodes - INFO - Already up to date |
| 285 | 2013-11-21 14:04:40,444 - OnosSanity4nodes - INFO - Stopping onos |
| 286 | 2013-11-21 14:04:41,486 - OnosSanity4nodes - WARNING - ONOS wasn't running |
| 287 | 2013-11-21 14:04:43,906 - OnosSanity4nodes - INFO - Already up to date |
| 288 | 2013-11-21 14:04:43,906 - OnosSanity4nodes - INFO - Starting Cassandra |
| 289 | 2013-11-21 14:04:49,633 - OnosSanity4nodes - INFO - Cassandra Started |
| 290 | 2013-11-21 14:04:49,634 - OnosSanity4nodes - INFO - Starting Cassandra |
| 291 | 2013-11-21 14:04:55,181 - OnosSanity4nodes - INFO - Cassandra Started |
| 292 | 2013-11-21 14:04:55,182 - OnosSanity4nodes - INFO - Starting Cassandra |
| 293 | 2013-11-21 14:05:00,827 - OnosSanity4nodes - INFO - Cassandra Started |
| 294 | 2013-11-21 14:05:00,827 - OnosSanity4nodes - INFO - Starting Cassandra |
| 295 | 2013-11-21 14:05:06,435 - OnosSanity4nodes - INFO - Cassandra Started |
| 296 | 2013-11-21 14:05:28,733 - OnosSanity4nodes - INFO - Keyspace dropped |
| 297 | 2013-11-21 14:05:38,645 - OnosSanity4nodes - INFO - ONOS Started |
| 298 | 2013-11-21 14:05:59,131 - OnosSanity4nodes - INFO - ONOS Started |
| 299 | 2013-11-21 14:06:09,467 - OnosSanity4nodes - INFO - ONOS Started |
| 300 | 2013-11-21 14:06:21,135 - OnosSanity4nodes - INFO - ONOS Started |
| 301 | 2013-11-21 14:06:23,897 - OnosSanity4nodes - INFO - Executed :~/ONOS/start-rest.sh start Expected Prompt '\$' Found |
| 302 | 2013-11-21 14:06:23,899 - OnosSanity4nodes - INFO - Rest Server Started Successfully |
| 303 | |
| 304 | [2013-11-21 14:06:34.074971] [OnosSanity4nodes] [CASE] Checking if the startup was clean... |
| 305 | |
| 306 | [2013-11-21 14:06:34.077991] [OnosSanity4nodes] [STEP] INIT : Initializing the test case :Checking if the startup was clean... |
| 307 | |
| 308 | [2013-11-21 14:06:34.081199] [OnosSanity4nodes] [STEP] 1.1: Testing startup Zookeeper |
| 309 | 2013-11-21 14:06:34,219 - OnosSanity4nodes - INFO - Executed : |
| 310 | Expected Prompt '\$' Found |
| 311 | 2013-11-21 14:06:34,840 - OnosSanity4nodes - INFO - Executed :~/zookeeper-3.4.5/bin/zkServer.sh status Expected Prompt 'Mode' Found |
| 312 | 2013-11-21 14:06:34,846 - OnosSanity4nodes - INFO - Verifying the Expected is equal to the actual or not using assert_equal |
| 313 | 2013-11-21 14:06:34,846 - OnosSanity4nodes - INFO - Zookeeper is up! |
| 314 | 2013-11-21 14:06:34,847 - OnosSanity4nodes - INFO - Assertion Passed |
| 315 | |
| 316 | [2013-11-21 14:06:34.848861] [OnosSanity4nodes] [STEP] 1.2: Testing startup Cassandra |
| 317 | 2013-11-21 14:06:34,852 - OnosSanity4nodes - INFO - trying 5 times |
| 318 | 2013-11-21 14:06:35,058 - OnosSanity4nodes - INFO - Executed :
Expected Prompt '\$' Found |
| 319 | 2013-11-21 14:06:36,565 - OnosSanity4nodes - INFO - Verifying the Expected is equal to the actual or not using assert_equal |
| 320 | 2013-11-21 14:06:36,566 - OnosSanity4nodes - INFO - Cassandra is up! |
| 321 | 2013-11-21 14:06:36,566 - OnosSanity4nodes - INFO - Assertion Passed |
| 322 | |
| 323 | [2013-11-21 14:06:36.567867] [OnosSanity4nodes] [STEP] 1.3: Testing startup ONOS |
| 324 | 2013-11-21 14:06:36,673 - OnosSanity4nodes - INFO - Executed :
Expected Prompt '\$' Found |
| 325 | 2013-11-21 14:06:37,353 - OnosSanity4nodes - INFO - Executed :~/ONOS/start-onos.sh status Expected Prompt 'running' Found |
| 326 | 2013-11-21 14:06:37,456 - OnosSanity4nodes - INFO - Executed :
Expected Prompt '\$' Found |
| 327 | 2013-11-21 14:06:37,558 - OnosSanity4nodes - INFO - Executed :tail ~/ONOS/onos-logs/onos.*.log Expected Prompt '\$' Found |