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