blob: 70c90c1992a69f2078a18201b5a6936edd922df2 [file] [log] [blame]
+----------------+
------------------------------ { Script And Files } ------------------------------
+----------------+
Script Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/OnosSanity4nodes_21_Nov_2013_17_18_16.log
Report Log File : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/OnosSanity4nodes_21_Nov_2013_17_18_16.rpt
ONOS4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/ONOS4.session
ONOS2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/ONOS2.session
ONOS3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/ONOS3.session
ONOS1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/ONOS1.session
Zookeeper4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Zookeeper4.session
Cassandra1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Cassandra1.session
Cassandra2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Cassandra2.session
Cassandra3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Cassandra3.session
Cassandra4 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Cassandra4.session
Zookeeper1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Zookeeper1.session
Zookeeper2 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Zookeeper2.session
Zookeeper3 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/Zookeeper3.session
Mininet1 Session Log : /home/admin/ONLabTest/TestON/logs/OnosSanity4nodes_21_Nov_2013_17_18_16/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] [21 Nov 2013 17:18:53] Pulling latest code from github to all nodes
[REPORT] [21 Nov 2013 17:20:55] COMMIT:
67174b8f2ccab135db02699ccdfc59e082b65490
]0;admin@autoONOS1: ~/ONOSadmin@autoONOS1:~/ONOS$
[REPORT] [21 Nov 2013 17:20:55] Startup check Zookeeper1, Cassandra1, and ONOS1 connections
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase2
******************************
[REPORT] [21 Nov 2013 17:21:29] Check if mininet started properly, then assign controllers ONOS 1,2,3 and 4
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase21
******************************
[REPORT] [21 Nov 2013 17:22:03] Test device discovery function, by attach/detach/move host h1 from s1->s6->s1.
[REPORT] [21 Nov 2013 17:22:03] Check initially hostMAC exist on the mininet...
[REPORT] [21 Nov 2013 17:22:06] Host is not reachable
[REPORT] [21 Nov 2013 17:22:06] Found host h1 attached to switchDPID = 00:00:00:00:00:00:00:01
[REPORT] [21 Nov 2013 17:22:06] IP discovered is ip_found ( 10.0.0.1 ).
[REPORT] [21 Nov 2013 17:22:06] Yank out s1-eth1
[REPORT] [21 Nov 2013 17:22:13] Host is not reachable
[REPORT] [21 Nov 2013 17:22:13] Attempt to yank out s1-eth1 from s1 sucessfully
[REPORT] [21 Nov 2013 17:22:13] Plug s1-eth1 into s6
[REPORT] [21 Nov 2013 17:22:19] Host is not reachable
[REPORT] [21 Nov 2013 17:22:20] Attempt to plug s1-eht1 to s6 succeded.
[REPORT] [21 Nov 2013 17:22:20] IP discovered is ip_found ( 10.0.0.1 ).
[REPORT] [21 Nov 2013 17:22:20] Move s1-eth1 back on to s1
[REPORT] [21 Nov 2013 17:22:26] Host is not reachable
[REPORT] [21 Nov 2013 17:22:27] Attempt to plug s1-eht1 back to s1 succeded.
[REPORT] [21 Nov 2013 17:22:27] IP discovered is ip_found ( 10.0.0.1 ).
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase3
******************************
[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
[REPORT] [21 Nov 2013 17:22:32]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [21 Nov 2013 17:22:41]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [21 Nov 2013 17:22:48]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [21 Nov 2013 17:22:56]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [21 Nov 2013 17:23:03]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [21 Nov 2013 17:23:10]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [21 Nov 2013 17:23:17]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [21 Nov 2013 17:23:23]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [21 Nov 2013 17:23:30]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [21 Nov 2013 17:23:37]
-----
switch: network 1 : 25 switches 25 active
link: total 46 links (correct : 50)
link fail
-----
[REPORT] [21 Nov 2013 17:24:03] Flow failed, waiting 10 seconds then making attempt number 2
[REPORT] [21 Nov 2013 17:24:16] Flow failed, waiting 10 seconds then making attempt number 3
[REPORT] [21 Nov 2013 17:24:28] Flow failed, waiting 10 seconds then making attempt number 4
[REPORT] [21 Nov 2013 17:24:40] Flow failed, waiting 10 seconds then making attempt number 5
[REPORT] [21 Nov 2013 17:24:52] Flow failed, waiting 10 seconds then making attempt number 6
[REPORT] [21 Nov 2013 17:25:04] Flows failed check
[REPORT] [21 Nov 2013 17:25:14] Host is not reachable
[REPORT] [21 Nov 2013 17:25:24] Host is not reachable
[REPORT] [21 Nov 2013 17:25:34] Host is not reachable
[REPORT] [21 Nov 2013 17:25:34] PING TEST FAIL
[REPORT] [21 Nov 2013 17:25:34] Flow check FAIL
*****************************
Result: Failed
*****************************
******************************
Result summary for Testcase4
******************************
[REPORT] [21 Nov 2013 17:25:34] Remove ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts
[REPORT] [21 Nov 2013 17:25:50]
-----
switch: network 1 : 25 switches 25 active
link: total 24 links (correct : 50)
link fail
-----
[REPORT] [21 Nov 2013 17:25:56]
-----
switch: network 1 : 25 switches 25 active
link: total 50 links (correct : 50)
-----
[REPORT] [21 Nov 2013 17:25:57] Time to complete ping test: 9.59 seconds
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase5
******************************
[REPORT] [21 Nov 2013 17:25:57] Restore ONOS 2,3,4 then ping until all hosts are reachable or fail after 6 attempts
[REPORT] [21 Nov 2013 17:26:04]
-----
switch: network 1 : 25 switches 25 active
link: total 50 links (correct : 50)
-----
[REPORT] [21 Nov 2013 17:26:05] Time to complete ping test: 4.12 seconds
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase6
******************************
[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
[REPORT] [21 Nov 2013 17:26:08]
-----
switch: network 1 : 25 switches 25 active
link: total 48 links (correct : 48)
-----
[REPORT] [21 Nov 2013 17:26:18] Host is not reachable
[REPORT] [21 Nov 2013 17:26:23] Host is not reachable
[REPORT] [21 Nov 2013 17:26:29] Time to complete ping test: 24.06 seconds
*****************************
Result: Pass
*****************************
******************************
Result summary for Testcase7
******************************
[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
[REPORT] [21 Nov 2013 17:26:33]
-----
switch: network 1 : 25 switches 25 active
link: total 50 links (correct : 50)
-----
[REPORT] [21 Nov 2013 17:26:33] Host is not reachable
[REPORT] [21 Nov 2013 17:26:39] Time to complete ping test: 6.16 seconds
*****************************
Result: Pass
*****************************
*************************************
Test Execution Summary
*************************************
Test Start : 21 Nov 2013 17:18:16
Test End : 21 Nov 2013 17:26:39
Execution Time : 0:08:22.922655
Total tests planned : 8
Total tests RUN : 8
Total Pass : 7
Total Fail : 1
Total No Result : 0
Success Percentage : 87%
Execution Result : 100%