Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
SRHighAvailability at 13 Aug 2018 15:30:35
commit 91dfb74f4ea9a72e0849932620b84d815b7ea774 (HEAD -] onos-1.12, origin/onos-1.12)
Author: Charles Chan [rascov@gmail.com]
AuthorDate: Tue Aug 7 12:48:36 2018 -0700
Commit: Charles Chan [charles@opennetworking.org]
CommitDate: Wed Aug 8 23:14:29 2018 +0000
Move device event handling to another thread in XconnectManager
--
(cherry picked from commit 168111e81cdba245cde4ac94844aa0c561cb0097)
Case 1: High Availability tests - ONOS failures 2x2 Leaf-spine - FAIL
- 1.1 Constructing test variables - PASS
- 1.2 Apply cell to environment - PASS
- 1.3 Uninstalling ONOS package - PASS
- 1.4 Creating ONOS package - PASS
- 1.5 Installing ONOS package - PASS
- 1.6 Set up ONOS secure SSH - PASS
- 1.7 Checking ONOS service - PASS
- 1.8 Starting ONOS CLI sessions - PASS
- 1.9 Starting Mininet Topology - PASS
- 1.10 Check whether the flow count is bigger than 116 - PASS
- 1.11 Check whether all flow status are ADDED - PASS
- 1.12 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE1 - FAIL
- IP connectivity failed
- 1.13 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE1 - PASS
- 1.14 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE1 - PASS
- 1.15 Killing ONOS instances with index(es): [0] - PASS
- 1.16 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 1.17 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE1_ONOS_Failure1 - FAIL
- IP connectivity failed
- 1.18 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE1_ONOS_Failure1 - PASS
- 1.19 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE1_ONOS_Failure1 - PASS
- 1.20 Recovering ONOS instances with index(es): [0] - PASS
- 1.21 Checking if ONOS CLI is ready - PASS
- 1.22 Checking ONOS nodes - PASS
- 1.23 Check number of topology elements - PASS
- 1.24 Check whether the flow count is bigger than 116 - PASS
- 1.25 Check whether all flow status are ADDED - PASS
- 1.26 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE1_ONOS_Recovery1 - FAIL
- IP connectivity failed
- 1.27 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE1_ONOS_Recovery1 - PASS
- 1.28 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE1_ONOS_Recovery1 - PASS
- 1.29 Killing ONOS instances with index(es): [1] - PASS
- 1.30 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 1.31 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE1_ONOS_Failure2 - FAIL
- IP connectivity failed
- 1.32 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE1_ONOS_Failure2 - PASS
- 1.33 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE1_ONOS_Failure2 - PASS
- 1.34 Recovering ONOS instances with index(es): [1] - PASS
- 1.35 Checking if ONOS CLI is ready - PASS
- 1.36 Checking ONOS nodes - PASS
- 1.37 Check number of topology elements - PASS
- 1.38 Check whether the flow count is bigger than 116 - PASS
- 1.39 Check whether all flow status are ADDED - PASS
- 1.40 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE1_ONOS_Recovery2 - FAIL
- IP connectivity failed
- 1.41 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE1_ONOS_Recovery2 - PASS
- 1.42 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE1_ONOS_Recovery2 - PASS
- 1.43 Killing ONOS instances with index(es): [2] - PASS
- 1.44 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 1.45 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE1_ONOS_Failure3 - FAIL
- IP connectivity failed
- 1.46 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE1_ONOS_Failure3 - PASS
- 1.47 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE1_ONOS_Failure3 - PASS
- 1.48 Recovering ONOS instances with index(es): [2] - PASS
- 1.49 Checking if ONOS CLI is ready - PASS
- 1.50 Checking ONOS nodes - PASS
- 1.51 Check number of topology elements - PASS
- 1.52 Check whether the flow count is bigger than 116 - PASS
- 1.53 Check whether all flow status are ADDED - PASS
- 1.54 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE1_ONOS_Recovery3 - FAIL
- IP connectivity failed
- 1.55 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE1_ONOS_Recovery3 - PASS
- 1.56 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE1_ONOS_Recovery3 - PASS
- 1.57 Stopping Mininet - PASS
- 1.58 Copying karaf logs - PASS
Case 2: High Availability tests - ONOS random failures 2x2 Leaf-spine - FAIL
- 2.1 Apply cell to environment - PASS
- 2.2 Uninstalling ONOS package - PASS
- 2.3 Creating ONOS package - PASS
- 2.4 Installing ONOS package - PASS
- 2.5 Set up ONOS secure SSH - PASS
- 2.6 Checking ONOS service - PASS
- 2.7 Starting ONOS CLI sessions - PASS
- 2.8 Starting Mininet Topology - PASS
- 2.9 Check whether the flow count is bigger than 116 - PASS
- 2.10 Check whether all flow status are ADDED - PASS
- 2.11 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE2 - FAIL
- IP connectivity failed
- 2.12 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE2 - PASS
- 2.13 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE2 - PASS
- 2.14 Killing ONOS instances with index(es): [2] - PASS
- 2.15 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 2.16 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE2_ONOS_Failure1 - FAIL
- IP connectivity failed
- 2.17 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE2_ONOS_Failure1 - PASS
- 2.18 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE2_ONOS_Failure1 - PASS
- 2.19 Recovering ONOS instances with index(es): [2] - PASS
- 2.20 Checking if ONOS CLI is ready - PASS
- 2.21 Checking ONOS nodes - PASS
- 2.22 Check number of topology elements - PASS
- 2.23 Check whether the flow count is bigger than 116 - PASS
- 2.24 Check whether all flow status are ADDED - PASS
- 2.25 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE2_ONOS_Recovery1 - FAIL
- IP connectivity failed
- 2.26 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE2_ONOS_Recovery1 - PASS
- 2.27 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE2_ONOS_Recovery1 - PASS
- 2.28 Killing ONOS instances with index(es): [1] - PASS
- 2.29 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 2.30 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE2_ONOS_Failure2 - FAIL
- IP connectivity failed
- 2.31 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE2_ONOS_Failure2 - PASS
- 2.32 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE2_ONOS_Failure2 - PASS
- 2.33 Recovering ONOS instances with index(es): [1] - PASS
- 2.34 Checking if ONOS CLI is ready - PASS
- 2.35 Checking ONOS nodes - PASS
- 2.36 Check number of topology elements - PASS
- 2.37 Check whether the flow count is bigger than 116 - PASS
- 2.38 Check whether all flow status are ADDED - PASS
- 2.39 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE2_ONOS_Recovery2 - FAIL
- IP connectivity failed
- 2.40 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE2_ONOS_Recovery2 - PASS
- 2.41 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE2_ONOS_Recovery2 - PASS
- 2.42 Killing ONOS instances with index(es): [1] - PASS
- 2.43 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 2.44 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE2_ONOS_Failure3 - FAIL
- IP connectivity failed
- 2.45 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE2_ONOS_Failure3 - PASS
- 2.46 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE2_ONOS_Failure3 - PASS
- 2.47 Recovering ONOS instances with index(es): [1] - PASS
- 2.48 Checking if ONOS CLI is ready - PASS
- 2.49 Checking ONOS nodes - PASS
- 2.50 Check number of topology elements - PASS
- 2.51 Check whether the flow count is bigger than 116 - PASS
- 2.52 Check whether all flow status are ADDED - PASS
- 2.53 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4'] with tag CASE2_ONOS_Recovery3 - FAIL
- IP connectivity failed
- 2.54 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE2_ONOS_Recovery3 - PASS
- 2.55 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE2_ONOS_Recovery3 - PASS
- 2.56 Stopping Mininet - PASS
- 2.57 Copying karaf logs - PASS
Case 3: High Availability tests - ONOS failures 4x4 Leaf-spine - FAIL
- 3.1 Apply cell to environment - PASS
- 3.2 Uninstalling ONOS package - PASS
- 3.3 Creating ONOS package - PASS
- 3.4 Installing ONOS package - PASS
- 3.5 Set up ONOS secure SSH - PASS
- 3.6 Checking ONOS service - PASS
- 3.7 Starting ONOS CLI sessions - PASS
- 3.8 Starting Mininet Topology - PASS
- 3.9 Check whether the flow count is bigger than 350 - PASS
- 3.10 Check whether all flow status are ADDED - PASS
- 3.11 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE3 - FAIL
- IP connectivity failed
- 3.12 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE3 - PASS
- 3.13 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE3 - PASS
- 3.14 Killing ONOS instances with index(es): [0] - PASS
- 3.15 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 3.16 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE3_ONOS_Failure1 - FAIL
- IP connectivity failed
- 3.17 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE3_ONOS_Failure1 - PASS
- 3.18 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE3_ONOS_Failure1 - PASS
- 3.19 Recovering ONOS instances with index(es): [0] - PASS
- 3.20 Checking if ONOS CLI is ready - PASS
- 3.21 Checking ONOS nodes - PASS
- 3.22 Check number of topology elements - PASS
- 3.23 Check whether the flow count is bigger than 350 - PASS
- 3.24 Check whether all flow status are ADDED - PASS
- 3.25 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE3_ONOS_Recovery1 - FAIL
- IP connectivity failed
- 3.26 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE3_ONOS_Recovery1 - PASS
- 3.27 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE3_ONOS_Recovery1 - PASS
- 3.28 Killing ONOS instances with index(es): [1] - PASS
- 3.29 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 3.30 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE3_ONOS_Failure2 - FAIL
- IP connectivity failed
- 3.31 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE3_ONOS_Failure2 - PASS
- 3.32 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE3_ONOS_Failure2 - PASS
- 3.33 Recovering ONOS instances with index(es): [1] - PASS
- 3.34 Checking if ONOS CLI is ready - PASS
- 3.35 Checking ONOS nodes - PASS
- 3.36 Check number of topology elements - PASS
- 3.37 Check whether the flow count is bigger than 350 - PASS
- 3.38 Check whether all flow status are ADDED - PASS
- 3.39 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE3_ONOS_Recovery2 - FAIL
- IP connectivity failed
- 3.40 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE3_ONOS_Recovery2 - PASS
- 3.41 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE3_ONOS_Recovery2 - PASS
- 3.42 Killing ONOS instances with index(es): [2] - PASS
- 3.43 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 3.44 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE3_ONOS_Failure3 - FAIL
- IP connectivity failed
- 3.45 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE3_ONOS_Failure3 - PASS
- 3.46 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE3_ONOS_Failure3 - PASS
- 3.47 Recovering ONOS instances with index(es): [2] - PASS
- 3.48 Checking if ONOS CLI is ready - PASS
- 3.49 Checking ONOS nodes - PASS
- 3.50 Check number of topology elements - PASS
- 3.51 Check whether the flow count is bigger than 350 - PASS
- 3.52 Check whether all flow status are ADDED - PASS
- 3.53 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE3_ONOS_Recovery3 - FAIL
- IP connectivity failed
- 3.54 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE3_ONOS_Recovery3 - PASS
- 3.55 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE3_ONOS_Recovery3 - PASS
- 3.56 Stopping Mininet - PASS
- 3.57 Copying karaf logs - PASS
Case 4: High Availability tests - ONOS random failures 4x4 Leaf-spine - FAIL
- 4.1 Apply cell to environment - PASS
- 4.2 Uninstalling ONOS package - PASS
- 4.3 Creating ONOS package - PASS
- 4.4 Installing ONOS package - PASS
- 4.5 Set up ONOS secure SSH - PASS
- 4.6 Checking ONOS service - PASS
- 4.7 Starting ONOS CLI sessions - PASS
- 4.8 Starting Mininet Topology - PASS
- 4.9 Check whether the flow count is bigger than 350 - PASS
- 4.10 Check whether all flow status are ADDED - PASS
- 4.11 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE4 - FAIL
- IP connectivity failed
- 4.12 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE4 - PASS
- 4.13 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE4 - PASS
- 4.14 Killing ONOS instances with index(es): [1] - PASS
- 4.15 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 4.16 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE4_ONOS_Failure1 - FAIL
- IP connectivity failed
- 4.17 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE4_ONOS_Failure1 - PASS
- 4.18 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE4_ONOS_Failure1 - PASS
- 4.19 Recovering ONOS instances with index(es): [1] - PASS
- 4.20 Checking if ONOS CLI is ready - PASS
- 4.21 Checking ONOS nodes - PASS
- 4.22 Check number of topology elements - PASS
- 4.23 Check whether the flow count is bigger than 350 - PASS
- 4.24 Check whether all flow status are ADDED - PASS
- 4.25 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE4_ONOS_Recovery1 - FAIL
- IP connectivity failed
- 4.26 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE4_ONOS_Recovery1 - PASS
- 4.27 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE4_ONOS_Recovery1 - PASS
- 4.28 Killing ONOS instances with index(es): [1] - PASS
- 4.29 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 4.30 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE4_ONOS_Failure2 - FAIL
- IP connectivity failed
- 4.31 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE4_ONOS_Failure2 - PASS
- 4.32 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE4_ONOS_Failure2 - PASS
- 4.33 Recovering ONOS instances with index(es): [1] - PASS
- 4.34 Checking if ONOS CLI is ready - PASS
- 4.35 Checking ONOS nodes - PASS
- 4.36 Check number of topology elements - PASS
- 4.37 Check whether the flow count is bigger than 350 - PASS
- 4.38 Check whether all flow status are ADDED - PASS
- 4.39 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE4_ONOS_Recovery2 - FAIL
- IP connectivity failed
- 4.40 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE4_ONOS_Recovery2 - PASS
- 4.41 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE4_ONOS_Recovery2 - PASS
- 4.42 Killing ONOS instances with index(es): [1] - PASS
- 4.43 Check number of topology elements - FAIL
- Unexpected number of links, switches, and/or controllers
- 4.44 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE4_ONOS_Failure3 - FAIL
- IP connectivity failed
- 4.45 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE4_ONOS_Failure3 - PASS
- 4.46 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE4_ONOS_Failure3 - PASS
- 4.47 Recovering ONOS instances with index(es): [1] - PASS
- 4.48 Checking if ONOS CLI is ready - PASS
- 4.49 Checking ONOS nodes - PASS
- 4.50 Check number of topology elements - PASS
- 4.51 Check whether the flow count is bigger than 350 - PASS
- 4.52 Check whether all flow status are ADDED - PASS
- 4.53 Verify full connectivity for [u'h1', u'h2', u'h3', u'h4', u'h5', u'h6', u'h7', u'h8'] with tag CASE4_ONOS_Recovery3 - FAIL
- IP connectivity failed
- 4.54 Verify full connectivity for [u'olt10', u'vsg10'] with tag CASE4_ONOS_Recovery3 - PASS
- 4.55 Verify full connectivity for [u'olt5', u'vsg5'] with tag CASE4_ONOS_Recovery3 - PASS
- 4.56 Stopping Mininet - PASS
- 4.57 Copying karaf logs - PASS