Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1694

unsubscribe-dtcl fails with NullPointerException when UnreachableMember happens

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • clustering
    • None
    • Operating System: All
      Platform: All

    • 8525

    Description

      This happens in test with module-based shard, tell-based protocol. A listener is registered (on a member which is not leader). There is a transaction writer on each member, each finishes successfully [0]. The unscubscribe-dtcl call fails [1]:
      Problem accessing /restconf/operations/odl-mdsal-lowlevel-control:unsubscribe-dtcl. Reason:
      <pre> Server Error</pre></p><h3>Caused by:</h3><pre>java.lang.NullPointerException
      at org.opendaylight.controller.clustering.it.provider.impl.IdIntsListener.checkEqual(IdIntsListener.java:57)
      at org.opendaylight.controller.clustering.it.provider.MdsalLowLevelTestProvider.unsubscribeDtcl(MdsalLowLevelTestProvider.java:480)

      If the listener got zero notifications, the unsubscribe-dtcl should report that in a readable message. The clustering bug is in the fact the DTC notifications were lost (or the NPE happened for some other reason).

      Be the way, the UnreachableMember seems to happen in every test with 3 writers/producers (with half million integer array created in the initial transaction).

      [0] https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/715/archives/log.html.gz#s1-s36-t3-k2-k15
      [1] https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/715/archives/log.html.gz#s1-s36-t3-k2-k17-k2-k1-k4-k7-k1

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            vrpolak Vratko Polak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: