Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-227

TestRaftWithGrpc.testBasicAppendEntriesWithAllReplication fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      The test fails after a few runs.

       

      Running org.apache.ratis.grpc.TestRaftWithGrpc
      Tests run: 7, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 38.009 sec <<< FAILURE! - in org.apache.ratis.grpc.TestRaftWithGrpc
      testBasicAppendEntriesWithAllReplication(org.apache.ratis.grpc.TestRaftWithGrpc) Time elapsed: 6.347 sec <<< FAILURE!
      java.lang.AssertionError: expected:<10> but was:<11>

      testBasicAppendEntriesWithAllReplication(org.apache.ratis.grpc.TestRaftWithGrpc) Time elapsed: 6.347 sec <<< FAILURE!
      java.lang.AssertionError: Unexpected exited.
      Caused by: org.apache.ratis.util.ExitUtils$ExitException: StateMachineUpdater-s3: the StateMachineUpdater hits Throwable
      Caused by: java.lang.IllegalStateException: retry cache entry should be pending: client-94C96ACF6473:5013:done

      Results :

      Failed tests:
      org.apache.ratis.grpc.TestRaftWithGrpc.testBasicAppendEntriesWithAllReplication(org.apache.ratis.grpc.TestRaftWithGrpc)
      Run 1: TestRaftWithGrpc>RaftBasicTests.testBasicAppendEntriesWithAllReplication:100->RaftBasicTests.runTestBasicAppendEntries:161->RaftBasicTests.lambda$runTestBasicAppendEntries$3:161 expected:<10> but was:<11>
      Run 2: TestRaftWithGrpc>RaftBasicTests.tearDown:89 Unexpected exited.

      Attachments

        1. org.apache.ratis.grpc.TestRaftWithGrpc-output.txt
          156 kB
          Tsz-wo Sze
        2. r227_20180501.patch
          4 kB
          Kit Hui

        Issue Links

          Activity

            People

              k8i6t2009 Kit Hui
              ljain Lokesh Jain
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: