| |
| +----------------+ |
| ------------------------------ { Script And Files } ------------------------------ |
| +----------------+ |
| |
| Script Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/OnosSanity4nodes_20_Nov_2013_00_33_20.log |
| Report Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/OnosSanity4nodes_20_Nov_2013_00_33_20.rpt |
| ONOS4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/ONOS4.session |
| ONOS2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/ONOS2.session |
| ONOS3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/ONOS3.session |
| ONOS1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/ONOS1.session |
| Zookeeper4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Zookeeper4.session |
| Cassandra1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Cassandra1.session |
| Cassandra2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Cassandra2.session |
| Cassandra3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Cassandra3.session |
| Cassandra4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Cassandra4.session |
| Zookeeper1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Zookeeper1.session |
| Zookeeper2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Zookeeper2.session |
| Zookeeper3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Zookeeper3.session |
| Mininet1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_20_Nov_2013_00_33_20/Mininet1.session |
| Test Script :/home/admin/ONLabTest/TestON/Tests/OnosSanity4nodes.py |
| Test Params : /home/admin/ONLabTest/TestON/Tests/OnosSanity4nodes.params |
| Topology : /home/admin/ONLabTest/TestON/Tests/OnosSanity4nodes.tpl |
| +------------------+ |
| --------------------------- { Script Exec Params } --------------------------- |
| +------------------+ |
| |
| |
| 'CTRL': |
| 'ip2': '10.128.100.4' |
| 'ip3': '10.128.100.5' |
| 'ip1': '10.128.100.1' |
| 'ip4': '10.128.100.6' |
| 'port4': '6633' |
| 'port2': '6633' |
| 'port3': '6633' |
| 'port1': '6633' |
| |
| 'NR_Links': '50' |
| 'LINK': |
| 'begin': 's1' |
| 'end': 's2' |
| |
| 'RESTCALL': |
| 'restIP1': '10.128.100.1' |
| 'restIP2': '10.128.100.5' |
| 'restPort': '8080' |
| 'restURL': '/wm/device/' |
| |
| 'CASE1': |
| 'destination': 'h6' |
| |
| 'PLUG': |
| 'sw1': 's1' |
| 'intf': 's1-eth1' |
| 'sw6': 's6' |
| |
| 'PING': |
| 'source2': 'h8' |
| 'source1': 'h6' |
| 'target2': 'h33' |
| 'target1': 'h31' |
| |
| 'FLOWDEF': '~/flowdef_files/Center_Triangle/flowdef_20.txt' |
| 'testcases': '1 |
| 2 |
| 21 |
| 3 |
| 4 |
| 5 |
| 6 |
| 7' |
| 'RestIP': '10.128.100.1' |
| 'NR_Switches': '25' |
| 'YANK': |
| 'hostmac': '00:00:00:00:00:01' |
| 'sw1': 's1' |
| 'hostname': 'h1' |
| 'intf': 's1-eth1' |
| 'sw6': 's6' |
| |
| |
| |
| +---------------+ |
| ----------------------------- { Components Used } ----------------------------- |
| +---------------+ |
| ONOS4 |
| ONOS2 |
| ONOS3 |
| ONOS1 |
| Zookeeper4 |
| Cassandra1 |
| Cassandra2 |
| Cassandra3 |
| Cassandra4 |
| Zookeeper1 |
| Zookeeper2 |
| Zookeeper3 |
| Mininet1 |
| |
| |
| +--------+ |
| ---------------------------- { Topology } ---------------------------- |
| +--------+ |
| |
| |
| 'ONOS4': |
| 'connect_order': '12' |
| 'host': '10.128.100.6' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'OnosCliDriver' |
| |
| 'ONOS2': |
| 'connect_order': '10' |
| 'host': '10.128.100.4' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'OnosCliDriver' |
| |
| 'ONOS3': |
| 'connect_order': '11' |
| 'host': '10.128.100.5' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'OnosCliDriver' |
| |
| 'ONOS1': |
| 'connect_order': '9' |
| 'host': '10.128.100.1' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'OnosCliDriver' |
| |
| 'Zookeeper4': |
| 'connect_order': '4' |
| 'host': '10.128.100.6' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'ZookeeperCliDriver' |
| |
| 'Cassandra1': |
| 'connect_order': '5' |
| 'host': '10.128.100.1' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'CassandraCliDriver' |
| |
| 'Cassandra2': |
| 'connect_order': '6' |
| 'host': '10.128.100.4' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'CassandraCliDriver' |
| |
| 'Cassandra3': |
| 'connect_order': '7' |
| 'host': '10.128.100.5' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'CassandraCliDriver' |
| |
| 'Cassandra4': |
| 'connect_order': '8' |
| 'host': '10.128.100.6' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'CassandraCliDriver' |
| |
| 'Zookeeper1': |
| 'connect_order': '1' |
| 'host': '10.128.100.1' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'ZookeeperCliDriver' |
| |
| 'Zookeeper2': |
| 'connect_order': '2' |
| 'host': '10.128.100.4' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'ZookeeperCliDriver' |
| |
| 'Zookeeper3': |
| 'connect_order': '3' |
| 'host': '10.128.100.5' |
| 'user': 'admin' |
| 'COMPONENTS': '' |
| 'password': None |
| 'type': 'ZookeeperCliDriver' |
| |
| 'Mininet1': |
| 'connect_order': '13' |
| 'host': '10.128.100.11' |
| 'user': 'admin' |
| 'COMPONENTS': |
| 'arg1': '--custom ~/mininet/custom/topo-onos4node.py' |
| 'arg2': '--topo mytopo --arp' |
| 'controller': 'remote' |
| |
| 'password': None |
| 'type': 'MininetCliDriver' |
| |
| |
| ------------------------------------------------------------ |
| |
| ****************************** |
| CASE INIT |
| ****************************** |
| |
| ****************************** |
| Result summary for Testcase1 |
| ****************************** |
| |
| [REPORT] [20 Nov 2013 00:33:59] Pulling latest code from github to all nodes |
| [REPORT] [20 Nov 2013 00:37:45] COMMIT:
|
| 7462869ddf8f66ae52eb815cd06e11ee0bbf45c4
|
| admin@autoONOS1:~/ONOS$ |
| [REPORT] [20 Nov 2013 00:37:45] Startup check Zookeeper1, Cassandra1, and ONOS1 connections |
| ***************************** |
| Result: Pass |
| ***************************** |
| |
| ****************************** |
| Result summary for Testcase2 |
| ****************************** |
| |
| [REPORT] [20 Nov 2013 00:37:51] Check if mininet started properly, then assign controllers ONOS 1,2,3 and 4 |
| ***************************** |
| Result: Pass |
| ***************************** |
| |
| ****************************** |
| Result summary for Testcase21 |
| ****************************** |
| |
| [REPORT] [20 Nov 2013 00:38:24] Test device discovery function, by attach/detach/move host h1 from s1->s6->s1. |
| [REPORT] [20 Nov 2013 00:38:24] Check initially hostMAC exist on the mininet... |
| [REPORT] [20 Nov 2013 00:38:27] Host is not reachable |
| [REPORT] [20 Nov 2013 00:38:28] Found host h1 attached to switchDPID = 00:00:00:00:00:00:00:01 |
| [REPORT] [20 Nov 2013 00:38:28] IP discovered is ip_found ( 10.0.0.1 ). |
| [REPORT] [20 Nov 2013 00:38:28] Yank out s1-eth1 |
| [REPORT] [20 Nov 2013 00:38:34] Host is not reachable |
| [REPORT] [20 Nov 2013 00:38:35] Attempt to yank out s1-eth1 from s1 sucessfully |
| [REPORT] [20 Nov 2013 00:38:35] Plug s1-eth1 into s6 |
| [REPORT] [20 Nov 2013 00:38:41] Host is not reachable |
| [REPORT] [20 Nov 2013 00:38:42] Attempt to plug s1-eht1 to s6 succeded. |
| [REPORT] [20 Nov 2013 00:38:42] IP discovered is ip_found ( 10.0.0.1 ). |
| [REPORT] [20 Nov 2013 00:38:42] Move s1-eth1 back on to s1 |
| [REPORT] [20 Nov 2013 00:38:48] Host is not reachable |
| [REPORT] [20 Nov 2013 00:38:49] Attempt to plug s1-eht1 back to s1 succeded. |
| [REPORT] [20 Nov 2013 00:38:49] IP discovered is ip_found ( 10.0.0.1 ). |
| ***************************** |
| Result: Pass |
| ***************************** |
| |
| ****************************** |
| Result summary for Testcase3 |
| ****************************** |
| |
| [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 |
| [REPORT] [20 Nov 2013 00:38:52] |
| ----- |
| switch: network 1 : 24 switches 24 active |
| switch fail: network 1 should have 25 switches but has 24 |
| switch fail: network 1 should have 25 active switches but has 24 |
| link: total 28 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:38:59] |
| ----- |
| switch: network 1 : 24 switches 24 active |
| switch fail: network 1 should have 25 switches but has 24 |
| switch fail: network 1 should have 25 active switches but has 24 |
| link: total 28 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:39:04] |
| ----- |
| switch: network 1 : 24 switches 24 active |
| switch fail: network 1 should have 25 switches but has 24 |
| switch fail: network 1 should have 25 active switches but has 24 |
| link: total 28 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:39:10] |
| ----- |
| switch: network 1 : 24 switches 24 active |
| switch fail: network 1 should have 25 switches but has 24 |
| switch fail: network 1 should have 25 active switches but has 24 |
| link: total 28 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:39:16] |
| ----- |
| switch: network 1 : 24 switches 24 active |
| switch fail: network 1 should have 25 switches but has 24 |
| switch fail: network 1 should have 25 active switches but has 24 |
| link: total 28 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:39:22] |
| ----- |
| switch: network 1 : 24 switches 24 active |
| switch fail: network 1 should have 25 switches but has 24 |
| switch fail: network 1 should have 25 active switches but has 24 |
| link: total 28 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:39:27] |
| ----- |
| switch: network 1 : 24 switches 24 active |
| switch fail: network 1 should have 25 switches but has 24 |
| switch fail: network 1 should have 25 active switches but has 24 |
| link: total 28 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:39:33] |
| ----- |
| switch: network 1 : 24 switches 24 active |
| switch fail: network 1 should have 25 switches but has 24 |
| switch fail: network 1 should have 25 active switches but has 24 |
| link: total 28 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:39:38] |
| ----- |
| switch: network 1 : 24 switches 24 active |
| switch fail: network 1 should have 25 switches but has 24 |
| switch fail: network 1 should have 25 active switches but has 24 |
| link: total 28 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:39:44] |
| ----- |
| switch: network 1 : 24 switches 24 active |
| switch fail: network 1 should have 25 switches but has 24 |
| switch fail: network 1 should have 25 active switches but has 24 |
| link: total 28 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:40:05] Flow failed, waiting 10 seconds then making attempt number 2 |
| [REPORT] [20 Nov 2013 00:40:13] Flow failed, waiting 10 seconds then making attempt number 3 |
| [REPORT] [20 Nov 2013 00:40:21] Flow failed, waiting 10 seconds then making attempt number 4 |
| [REPORT] [20 Nov 2013 00:40:29] Flow failed, waiting 10 seconds then making attempt number 5 |
| [REPORT] [20 Nov 2013 00:40:36] Flow failed, waiting 10 seconds then making attempt number 6 |
| [REPORT] [20 Nov 2013 00:40:44] Flows failed check |
| [REPORT] [20 Nov 2013 00:40:54] Host is not reachable |
| [REPORT] [20 Nov 2013 00:41:04] Host is not reachable |
| [REPORT] [20 Nov 2013 00:41:15] Host is not reachable |
| [REPORT] [20 Nov 2013 00:41:15] PING TEST FAIL |
| [REPORT] [20 Nov 2013 00:41:15] Flow check FAIL |
| ***************************** |
| Result: Failed |
| ***************************** |
| |
| ****************************** |
| Result summary for Testcase4 |
| ****************************** |
| |
| [REPORT] [20 Nov 2013 00:41:15] Remove ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts |
| [REPORT] [20 Nov 2013 00:41:30] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 6 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:41:35] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 6 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:41:41] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 6 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:41:46] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 6 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:41:51] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 6 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:41:56] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 6 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:42:02] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 6 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:42:06] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 6 links (correct : 50) |
| link fail |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:42:11] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 50 links (correct : 50) |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:42:22] Host is not reachable |
| [REPORT] [20 Nov 2013 00:42:27] Host is not reachable |
| [REPORT] [20 Nov 2013 00:42:37] Host is not reachable |
| [REPORT] [20 Nov 2013 00:42:43] Time to complete ping test: 74.83 seconds |
| ***************************** |
| Result: Pass |
| ***************************** |
| |
| ****************************** |
| Result summary for Testcase5 |
| ****************************** |
| |
| [REPORT] [20 Nov 2013 00:42:43] Restore ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts |
| [REPORT] [20 Nov 2013 00:42:50] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 50 links (correct : 50) |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:42:51] Time to complete ping test: 3.89 seconds |
| ***************************** |
| Result: Pass |
| ***************************** |
| |
| ****************************** |
| Result summary for Testcase6 |
| ****************************** |
| |
| [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 |
| [REPORT] [20 Nov 2013 00:42:54] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 48 links (correct : 48) |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:43:04] Host is not reachable |
| [REPORT] [20 Nov 2013 00:43:09] Host is not reachable |
| [REPORT] [20 Nov 2013 00:43:19] Host is not reachable |
| [REPORT] [20 Nov 2013 00:43:25] Time to complete ping test: 34.02 seconds |
| ***************************** |
| Result: Pass |
| ***************************** |
| |
| ****************************** |
| Result summary for Testcase7 |
| ****************************** |
| |
| [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 |
| [REPORT] [20 Nov 2013 00:43:28] |
| ----- |
| switch: network 1 : 25 switches 25 active |
| link: total 50 links (correct : 50) |
| ----- |
| |
| [REPORT] [20 Nov 2013 00:43:29] Time to complete ping test: 1.3 seconds |
| ***************************** |
| Result: Pass |
| ***************************** |
| |
| |
| ************************************* |
| Test Execution Summary |
| |
| ************************************* |
| |
| Test Start : 20 Nov 2013 00:33:20 |
| Test End : 20 Nov 2013 00:43:29 |
| Execution Time : 0:10:09.269834 |
| Total tests planned : 8 |
| Total tests RUN : 8 |
| Total Pass : 7 |
| Total Fail : 1 |
| Total No Result : 0 |
| Success Percentage : 87% |
| Execution Result : 100% |