You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/04/13 07:36:00 UTC
[jira] [Comment Edited] (RATIS-227)
TestRaftWithGrpc.testBasicAppendEntriesWithAllReplication fails
[ https://issues.apache.org/jira/browse/RATIS-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436957#comment-16436957 ]
Tsz Wo Nicholas Sze edited comment on RATIS-227 at 4/13/18 7:35 AM:
--------------------------------------------------------------------
I can reproduce the failure by running it repeatedly:
{code:java}
./dev-support/run-test-repeatedly.sh TestRaftWithGrpc#testBasicAppendEntriesWithAllReplication
{code}
See the attached log.
was (Author: szetszwo):
I can reproduce the failure by running in repeatedly:
{code:java}
./dev-support/run-test-repeatedly.sh TestRaftWithGrpc#testBasicAppendEntriesWithAllReplication
{code}
See the attached log.
> TestRaftWithGrpc.testBasicAppendEntriesWithAllReplication fails
> ---------------------------------------------------------------
>
> Key: RATIS-227
> URL: https://issues.apache.org/jira/browse/RATIS-227
> Project: Ratis
> Issue Type: Bug
> Reporter: Lokesh Jain
> Assignee: Kit Hui
> Priority: Major
> Attachments: org.apache.ratis.grpc.TestRaftWithGrpc-output.txt
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)