Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published from Jenkins build: https://jenkins.onosproject.org/job/HA-pipeline-2.0/1012/

...

HTML
<img src="https://jenkins.onosproject.org/view/QA/job/postjob-VM/lastSuccessfulBuild/artifact/HAbackupRecover_onos-2.0_20-builds_graph.jpg", alt="HAbackupRecover", style="width:525px;height:350px;border:0">

commit e22a6b197d3e84ab2b82c29d54e7bfae60190cc2 e5444c4d1b6dc0e01cad248d85715ac5e09ab25b (HEAD -] onos-2.0, origin/onos-2.0)
Author: Andrea Campanella [andrea@opennetworking.orgRuchi Sahota [Ruchi_Sahota@infosys.com]
AuthorDate: Wed Feb 27 Fri Mar 1 16:1056:08 07 2019 +01000000
Commit: Andrea Campanella Charles Chan [andrea@opennetworkingcharles@opennetworking.org]
CommitDate: Sun Thu Mar 3 097 04:1914:01 30 2019 +0000
Minor fix for tapi helper and for TAPI Rpc error message
--
(cherry picked from commit 34694eb54af0cd89487a0ec2f308181d47dc29f6)


Moving the device event handling to separate thread

Case 1: Starting up 7 node(s) ONOS cluster - PASS

...

  • 8.1 Comparing ONOS topology to MN topology - PASS (tick)
  • 8.2 Hosts view is consistent across all ONOS nodes - PASS (tick)
  • 8.3 Hosts information is correct - PASS (tick)
  • 8.4 Host attachment points to the network - PASS (tick)
  • 8.5 Clusters view is consistent across all ONOS nodes - PASS (tick)
  • 8.6 There is only one SCC - PASS (tick)
  • 8.7 Device information is correct - PASS (tick)
  • 8.8 Links are correct - PASS (tick)
  • 8.9 Hosts are correct - PASS (tick)
  • 8.10 Checking ONOS nodes - PASS (tick)

Case 21: Assigning Controller roles for switches -

...

FAIL

Check that ONOS is connected to each device. Then manually assign mastership to specific ONOS nodes using 'device-role'

  • 21.1 Assign mastership of switches to specific controllers - PASS (tick)
  • 21.2 Check mastership was correctly assigned - PASS (tick)FAIL (error)
    • Switches were not successfully reassigned

Case 3: Adding host Intents - PASS

...

  • 14.1 Install leadership election app - PASS (tick)
  • 14.2 Run for election on each node - PASS (tick)
  • 14.3 Active node was elected leader? - PASS (tick)

Case 15: Check that Leadership Election is still functional -

...

FAIL

  • 15.1 Run for election on each node - PASS (tick)
  • 15.2 Check that each node shows the same leader and candidates - PASS (tick)
  • 15.3 Find current leader and withdraw - PASS (tick)
  • 15.4 Check that a new node was elected leader - PASS (tick)
  • 15.5 Check that that new leader was the candidate of old leader - PASS (tick)
  • 15.6 Run for election on old leader( just so everyone is in the hat ) - PASS (tick)
  • 15.7 Check that oldLeader is a candidate, and leader if only 1 node - No Result (warning)

Case 16: Install Primitives app - PASS

  • 16.1 Install Primitives app - PASS (tick)

Case 17: Check for basic functionality with distributed primitives - PASS

  • FAIL (error)
    • At least one node failed to run for leadership
    • Skipping the rest of this case.

Case 16: Install Primitives app - PASS

  • 16.1 Install Primitives app - PASS (tick)

Case 17: Check for basic functionality with distributed primitives - FAIL

Test the methods of the distributed primitives (counters and Test the methods of the distributed primitives (counters and sets) throught the cli

  • 17.1 Increment then get a default counter on each node - PASS (tick)FAIL (error)
    • Error incrementing default counter
  • 17.2 Get then Increment a default counter on each node - PASS (tick)FAIL (error)
    • Error incrementing default counter
  • 17.3 Counters we added have the correct values - PASS (tick)FAIL (error)
    • Added counters are incorrect
  • 17.4 Add -8 to then get a default counter on each node - FAIL (error)
    • Error incrementing default counter
    on each node - PASS (tick)
  • 17.5 Add 5 to then get a default counter on each node - PASS (tick)FAIL (error)
    • Error incrementing default counter
  • 17.6 Get then add 5 to a default counter on each node - PASS (tick)FAIL (error)
    • Error incrementing default counter
  • 17.7 Counters we added have the correct values - PASS (tick)FAIL (error)
    • Added counters are incorrect
  • 17.8 Distributed Set get - PASS (tick)FAIL (error)
    • Set elements are incorrect
  • 17.9 Distributed Set size - PASS (tick)FAIL (error)
    • Set sizes are incorrect
  • 17.10 Distributed Set add() - PASS (tick)FAIL (error)
    • Set add was incorrect
  • 17.11 Distributed Set addAll() - PASS (tick)FAIL (error)
    • Set addAll was incorrect
  • 17.12 Distributed Set contains() - PASS (tick)FAIL (error)
    • Set contains failed
  • 17.13 Distributed Set containsAll() - PASS (tick)
  • 17.14 Distributed Set remove() - PASS (tick)FAIL (error)
    • Set remove was incorrect
  • 17.15 Distributed Set removeAll() - PASS (tick)FAIL (error)
    • Set removeAll was incorrect
  • 17.16 Distributed Set addAll() - PASS (tick)FAIL (error)
    • Set addAll was incorrect
  • 17.17 Distributed Set clear() - PASS (tick)FAIL (error)
    • Set clear was incorrect
  • 17.18 Distributed Set addAll() - PASS (tick)FAIL (error)
    • Set addAll was incorrect
  • 17.19 Distributed Set retain() - FAIL (error)
    • Set retain
    () - PASS (tick)
    • was incorrect
  • 17.20 Partitioned Transactional maps put - PASS (tick)FAIL (error)
    • Partitioned Transactional Map put values are incorrect
  • 17.21 Partitioned Transactional maps get - PASS (tick)FAIL (error)
    • Partitioned Transactional Map values incorrect
  • 17.22 Get the value of a new value - PASS (tick)value of a new value - FAIL (error)
    • Error getting atomic Value None, found: ['null', 'null', 'null', 'null', 'null', None, 'null']
  • 17.23 Atomic Value set() - PASS (tick)
  • 17.24 Get the value after set() - PASS (tick)
  • 17.25 Atomic Value compareAndSet() - PASS (tick)
  • 17.26 Get the value after compareAndSet() - PASS (tick)
  • 17.27 Atomic Value getAndSet() - PASS (tick)
  • 17.28 Get the value after getAndSet() - PASS (tick)
  • FAIL (error)
    • Error setting atomic Value[1, 1, 1, 1, 1, -1, 1]
  • 17.24 Get the value after set() - FAIL (error)
    • Error getting atomic Value foo, found: ['foo', 'foo', 'foo', 'foo', 'foo', None, 'foo']
  • 17.25 Atomic Value compareAndSet 17.29 Atomic Value destory() - PASS (tick)
  • 17.30 26 Get the value after destroycompareAndSet() - PASS (tick)
  • 17.31 Work Queue add() - PASS (tick)
  • 17.32 Check the work queue stats - PASS (tick)
  • FAIL (error)
    • Error getting atomic Value bar, found: ['bar', 'bar', 'bar', 'bar', 'bar', None, 'bar']
  • 17.27 Atomic Value getAndSet 17.33 Work Queue addMultiple() - PASS (tick)
  • 17.34 Check the work queue stats - PASS (tick)28 Get the value after getAndSet() - FAIL (error)
    • Error getting atomic Value: expected baz, found: ['baz', 'baz', 'baz', 'baz', 'baz', None, 'baz']
  • 17.29 Atomic Value destory() 17.35 Work Queue takeAndComplete() 1 - PASS (tick)
  • 17.36 Check the work queue stats - PASS (tick)
  • 17.37 Work Queue takeAndComplete() 2 - PASS (tick)
  • 17.38 Check the work queue stats - PASS (tick)
  • 30 Get the value after destroy() - FAIL (error)
    • Error getting atomic Value None, found: ['null', 'null', 'null', 'null', 'null', None, 'null']
  • 17.31 Work Queue add 17.39 Work Queue destroy() - PASS (tick)
  • 17.40 32 Check the work queue stats - PASS (tick)No Result (warning)

Case 6: Restart entire ONOS cluster with backed up state - FAIL

...

  • 4.1 Check Intent state - PASS (tick)
  • 4.2 Ping across added host intents - PASS (tick)
  • 4.3 Check leadership of topics - PASS (tick)
  • 4.4 Wait a minute then ping again - PASS (tick)

Case 15: Check that Leadership Election is still functional - PASS

  • 15.1 Run for election on each node - PASS (tick)
  • 15.2 Check that each node shows the same leader and candidates - PASS (tick)
  • 15.3 Find current leader and withdraw - PASS (tick)
  • 15.4 Check that a new node was elected leader - PASS (tick)
  • 15.5 Check that that new leader was the candidate of old leader - PASS (tick)
  • 15.6 Run for election on old leader( just so everyone is in the hat ) - PASS (tick)
  • 15.7 Check that oldLeader is a candidate, and leader if only 1 node - No Result (warning)

Case 17: Check for basic functionality with distributed primitives -

...

FAIL

Test the methods of the distributed primitives (counters and sets) throught the cli

  • 17.1 Increment then get a default counter on each node - PASS (tick)FAIL (error)
    • Error incrementing default counter
  • 17.2 Get then Increment a default counter on each node - PASS (tick)FAIL (error)
    • Error incrementing default counter
  • 17.3 Counters we added have the correct values - PASS (tick)FAIL (error)
    • Added counters are incorrect
  • 17.4 Add -8 to then get a default counter on each node - PASS (tick)FAIL (error)
    • Error incrementing default counter
  • 17.5 Add 5 to then get a default counter on each node - PASS (tick)FAIL (error)
    • Error incrementing default counter
  • 17.6 Get then add 5 to a default counter on each node - PASS (tick)FAIL (error)
    • Error incrementing default counter
  • 17.7 Counters we added have the correct values - PASS (tick)FAIL (error)
    • Added counters are incorrect
  • 17.8 Distributed Set get - PASS (tick)
  • 17.9 Distributed Set size - PASS (tick)
  • 17.10 Distributed Set add() - PASS (tick)
  • 17.11 Distributed Set addAll() - PASS (tick)
  • 17.12 Distributed Set contains() - PASS (tick)
  • 17.13 Distributed Set containsAll() - PASS (tick)
  • 17.14 Distributed Set remove() - PASS (tick)
  • 17.15 Distributed Set removeAll() - PASS (tick)
  • 17.16 Distributed Set addAll() - PASS (tick)
  • 17.17 Distributed Set clear() - PASS (tick)
  • 17.18 Distributed Set addAll() - PASS (tick)
  • 17.19 Distributed Set retain() - PASS (tick)
  • 17.20 Partitioned Transactional maps put - PASS (tick)
  • 17.21 Partitioned Transactional maps get - PASS (tick)
  • 17.22 Get the value of a new value - PASS (tick)
  • 17.23 Atomic Value set() - PASS (tick)
  • 17.24 Get the value after set() - PASS (tick)
  • 17.25 Atomic Value compareAndSet() - PASS (tick)
  • 17.26 Get the value after compareAndSet() - PASS (tick)
  • 17.27 Atomic Value getAndSet() - PASS (tick)
  • 17.28 Get the value after getAndSet() - PASS (tick)
  • 17.29 Atomic Value destory() - PASS (tick)
  • 17.30 Get the value after destroy() - PASS (tick)
  • 17.31 Work Queue add() - PASS (tick)
  • 17.32 Check the work queue stats - PASS (tick)FAIL (error)
    • Work Queue stats incorrect
  • 17.33 Work Queue addMultiple() - PASS (tick)
  • 17.34 Check the work queue stats - PASS (tick)FAIL (error)
    • Work Queue stats incorrect
  • 17.35 Work Queue takeAndComplete() 1 - PASS (tick)
  • 17.36 Check the work queue stats - PASS (tick)FAIL (error)
    • Work Queue stats incorrect
  • 17.37 Work Queue takeAndComplete() 2 - PASS (tick)
  • 17.38 Check the work queue stats - PASS (tick)FAIL (error)
    • Work Queue stats incorrect
  • 17.39 Work Queue destroy() - PASS (tick)
  • 17.40 Check the work queue stats - PASS (tick)

...