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

Clustering: LeaderTest failure in sal-akka-raft

    XMLWordPrintable

Details

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

    • 4223

    Description

      I'm seeing failures in LeaderTest.java in my setup.
      After executing 'mvn clean install' in sal-akka-raft, I get:
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on project sal-akka-raft: There are test failures.
      [ERROR]
      [ERROR] Please refer to /home/ssaxena/Work/controller/opendaylight/md-sal/sal-akka-raft/target/surefire-reports for the individual test results.

      The output in .../sal-akka-raft/target/surefire-reports/org.opendaylight.controller.cluster.raft.behaviors.LeaderTest.txt:

      -------------------------------------------------------------------------------
      Test set: org.opendaylight.controller.cluster.raft.behaviors.LeaderTest
      -------------------------------------------------------------------------------
      Tests run: 39, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.033 sec <<< FAILURE! - in org.opendaylight.controller.cluster.raft.behaviors.LeaderTest
      testInitiateInstallSnapshot(org.opendaylight.controller.cluster.raft.behaviors.LeaderTest) Time elapsed: 5.054 sec <<< FAILURE!
      java.lang.AssertionError: Did not receive message of type class org.opendaylight.controller.cluster.raft.messages.AppendEntries
      at org.junit.Assert.fail(Assert.java:88)
      at org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.expectFirstMatching(MessageCollectorActor.java:125)
      at org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.expectFirstMatching(MessageCollectorActor.java:108)
      at org.opendaylight.controller.cluster.raft.behaviors.LeaderTest.testInitiateInstallSnapshot(LeaderTest.java:617)

      Attachments

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

        Activity

          People

            tpantelis Tom Pantelis
            ShaleenS Shaleen Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: