blob: 068b4b87f91236726f61e133ec779d3e5a3d6305 [file] [log] [blame]
+----------------+
------------------------------ { Script And Files } ------------------------------
+----------------+
Script Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/OnosSanity4nodes_22_Nov_2013_00_33_38.log
Report Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/OnosSanity4nodes_22_Nov_2013_00_33_38.rpt
ONOS4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/ONOS4.session
ONOS2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/ONOS2.session
ONOS3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/ONOS3.session
ONOS1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/ONOS1.session
Zookeeper4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/Zookeeper4.session
Cassandra1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/Cassandra1.session
Cassandra2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/Cassandra2.session
Cassandra3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/Cassandra3.session
Cassandra4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/Cassandra4.session
Zookeeper1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/Zookeeper1.session
Zookeeper2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/Zookeeper2.session
Zookeeper3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/Zookeeper3.session
Mininet1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_22_Nov_2013_00_33_38/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] [22 Nov 2013 00:34:17] Pulling latest code from github to all nodes
[REPORT] [22 Nov 2013 00:38:03] COMMIT:
67174b8f2ccab135db02699ccdfc59e082b65490
admin@autoONOS1:~/ONOS$
[REPORT] [22 Nov 2013 00:38:03] Startup check Zookeeper1, Cassandra1, and ONOS1 connections
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase2
******************************
[REPORT] [22 Nov 2013 00:38:37] Check if mininet started properly, then assign controllers ONOS 1,2,3 and 4
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase21
******************************
[REPORT] [22 Nov 2013 00:39:10] Test device discovery function, by attach/detach/move host h1 from s1->s6->s1.
[REPORT] [22 Nov 2013 00:39:10] Check initially hostMAC exist on the mininet...
[REPORT] [22 Nov 2013 00:39:14] Host is not reachable
[REPORT] [22 Nov 2013 00:39:14] Found host h1 attached to switchDPID = 00:00:00:00:00:00:00:01
[REPORT] [22 Nov 2013 00:39:14] IP discovered is ip_found ( 10.0.0.1 ).
[REPORT] [22 Nov 2013 00:39:14] Yank out s1-eth1
[REPORT] [22 Nov 2013 00:39:21] Host is not reachable
[REPORT] [22 Nov 2013 00:39:21] Attempt to yank out s1-eth1 from s1 sucessfully
[REPORT] [22 Nov 2013 00:39:21] Plug s1-eth1 into s6
[REPORT] [22 Nov 2013 00:39:27] Host is not reachable
[REPORT] [22 Nov 2013 00:39:28] Attempt to plug s1-eht1 to s6 succeded.
[REPORT] [22 Nov 2013 00:39:28] IP discovered is ip_found ( 10.0.0.1 ).
[REPORT] [22 Nov 2013 00:39:28] Move s1-eth1 back on to s1
[REPORT] [22 Nov 2013 00:39:35] Host is not reachable
[REPORT] [22 Nov 2013 00:39:35] Attempt to plug s1-eht1 back to s1 succeded.
[REPORT] [22 Nov 2013 00:39:35] IP discovered is ip_found ( 10.0.0.1 ).
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase3
******************************
[REPORT] [22 Nov 2013 00:39:35] Delete any flows from previous tests, then add flows from FLOWDEF file, then wait for switch flow tables to update
[REPORT] [22 Nov 2013 00:39:41]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [22 Nov 2013 00:39:50]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [22 Nov 2013 00:39:58]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [22 Nov 2013 00:40:06]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [22 Nov 2013 00:40:13]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [22 Nov 2013 00:40:21]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [22 Nov 2013 00:40:28]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [22 Nov 2013 00:40:35]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [22 Nov 2013 00:40:42]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [22 Nov 2013 00:40:49]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [22 Nov 2013 00:41:15] Flow failed, waiting 10 seconds then making attempt number 2
[REPORT] [22 Nov 2013 00:41:29] Flow failed, waiting 10 seconds then making attempt number 3
[REPORT] [22 Nov 2013 00:41:42] Flow failed, waiting 10 seconds then making attempt number 4
[REPORT] [22 Nov 2013 00:41:54] Flow failed, waiting 10 seconds then making attempt number 5
[REPORT] [22 Nov 2013 00:42:07] Flow failed, waiting 10 seconds then making attempt number 6
[REPORT] [22 Nov 2013 00:42:19] Flows failed check
[REPORT] [22 Nov 2013 00:42:29] Host is not reachable
[REPORT] [22 Nov 2013 00:42:39] Host is not reachable
[REPORT] [22 Nov 2013 00:42:49] Host is not reachable
[REPORT] [22 Nov 2013 00:42:49] PING TEST FAIL
[REPORT] [22 Nov 2013 00:42:49] Flow check FAIL
*****************************
Result: Failed
*****************************
******************************
Result summary for Testcase4
******************************
[REPORT] [22 Nov 2013 00:42:49] Remove ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts
[REPORT] [22 Nov 2013 00:43:05]
-----
switch: network 1 : 25 switches 25 active
link: total 31 links (correct : 50)
link fail
-----
[REPORT] [22 Nov 2013 00:43:11]
-----
switch: network 1 : 25 switches 25 active
link: total 50 links (correct : 50)
-----
[REPORT] [22 Nov 2013 00:43:13] Time to complete ping test: 9.94 seconds
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase5
******************************
[REPORT] [22 Nov 2013 00:43:13] Restore ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts
[REPORT] [22 Nov 2013 00:43:20]
-----
switch: network 1 : 25 switches 25 active
link: total 50 links (correct : 50)
-----
[REPORT] [22 Nov 2013 00:43:22] Time to complete ping test: 4.9 seconds
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase6
******************************
[REPORT] [22 Nov 2013 00:43:22] Bring Link between s1 and s2 down, then ping until all hosts are reachable or fail after 10 attempts
[REPORT] [22 Nov 2013 00:43:25]
-----
switch: network 1 : 25 switches 25 active
link: total 48 links (correct : 48)
-----
[REPORT] [22 Nov 2013 00:43:26] Time to complete ping test: 4.23 seconds
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase7
******************************
[REPORT] [22 Nov 2013 00:43:26] Bring Link between s1 and s2 up, then ping until all hosts are reachable or fail after 10 attempts
[REPORT] [22 Nov 2013 00:43:29]
-----
switch: network 1 : 25 switches 25 active
link: total 50 links (correct : 50)
-----
[REPORT] [22 Nov 2013 00:43:30] Time to complete ping test: 1.32 seconds
*****************************
Result: Pass
*****************************
*************************************
Test Execution Summary
*************************************
Test Start : 22 Nov 2013 00:33:38
Test End : 22 Nov 2013 00:43:30
Execution Time : 0:09:51.678627
Total tests planned : 8
Total tests RUN : 8
Total Pass : 7
Total Fail : 1
Total No Result : 0
Success Percentage : 87%
Execution Result : 100%