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