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 Sze (Jira)" <ji...@apache.org> on 2019/10/08 05:13:00 UTC
[jira] [Commented] (RATIS-701) Consistently failing tests
[ https://issues.apache.org/jira/browse/RATIS-701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16946491#comment-16946491 ]
Tsz-wo Sze commented on RATIS-701:
----------------------------------
[~hheg], thanks for filing the bug.
For the failures with "Is not notified as a leader", it is was introduced by RATIS-693, as mentioned by [~swagle]. It will be fixed in RATIS-698.
> Consistently failing tests
> --------------------------
>
> Key: RATIS-701
> URL: https://issues.apache.org/jira/browse/RATIS-701
> Project: Ratis
> Issue Type: Bug
> Affects Versions: 0.4.0
> Environment: > java -version
> java version "1.8.0_171"
> Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
> >lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 18.04.3 LTS
> Release: 18.04
> Codename: bionic
> > uname -a
> Linux TP 4.15.0-64-generic #73-Ubuntu SMP Thu Sep 12 13:16:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Henrik Hegardt
> Priority: Major
> Attachments: failing-tests.tar.xz
>
>
> I have attached the below failing tests' output from the surefire run:
> [INFO] Results:
> [INFO]
> [ERROR] Failures:
> [ERROR] TestInstallSnapshotNotificationWithGrpc>InstallSnapshotNotificationTests.testAddNewFollowers:112->InstallSnapshotNotificationTests.testAddNewFollowers:156 Is not notified as a leader
> [ERROR] TestRaftSnapshotWithGrpc>RaftSnapshotBaseTest.testBasicInstallSnapshot:203->RaftSnapshotBaseTest.assertLeaderContent:82 Is not notified as a leader
> [ERROR] TestRaftSnapshotWithGrpc>RaftSnapshotBaseTest.testRestartPeer:146->RaftSnapshotBaseTest.assertLeaderContent:82 Is not notified as a leader
> [ERROR] org.apache.ratis.grpc.TestRaftStateMachineExceptionWithGrpc.testHandleStateMachineException(org.apache.ratis.grpc.TestRaftStateMachineExceptionWithGrpc)
> [ERROR] Run 1: TestRaftStateMachineExceptionWithGrpc>RaftStateMachineExceptionTests.testHandleStateMachineException:81 Unexpected exit.
> [ERROR] Run 2: TestRaftStateMachineExceptionWithGrpc>BaseTest.assertNotTerminated:61 Unexpected exit.
> [INFO]
> [ERROR] org.apache.ratis.grpc.TestRaftStateMachineExceptionWithGrpc.testRetryOnExceptionDuringReplication(org.apache.ratis.grpc.TestRaftStateMachineExceptionWithGrpc)
> [ERROR] Run 1: TestRaftStateMachineExceptionWithGrpc>RaftStateMachineExceptionTests.testRetryOnExceptionDuringReplication:145 Unexpected exit.
> [ERROR] Run 2: TestRaftStateMachineExceptionWithGrpc>BaseTest.assertNotTerminated:61 Unexpected exit.
> [INFO]
> [ERROR] org.apache.ratis.grpc.TestRaftStateMachineExceptionWithGrpc.testRetryOnStateMachineException(org.apache.ratis.grpc.TestRaftStateMachineExceptionWithGrpc)
> [ERROR] Run 1: TestRaftStateMachineExceptionWithGrpc>RaftStateMachineExceptionTests.testRetryOnStateMachineException:99 Unexpected exit.
> [ERROR] Run 2: TestRaftStateMachineExceptionWithGrpc>BaseTest.assertNotTerminated:61 Unexpected exit.
> [INFO]
> [ERROR] TestRaftSnapshotWithNetty>RaftSnapshotBaseTest.testBasicInstallSnapshot:203->RaftSnapshotBaseTest.assertLeaderContent:82 Is not notified as a leader
> [ERROR] TestRaftSnapshotWithNetty>RaftSnapshotBaseTest.testRestartPeer:146->RaftSnapshotBaseTest.assertLeaderContent:82 Is not notified as a leader
> [ERROR] org.apache.ratis.netty.TestRaftStateMachineExceptionWithNetty.testHandleStateMachineException(org.apache.ratis.netty.TestRaftStateMachineExceptionWithNetty)
> [ERROR] Run 1: TestRaftStateMachineExceptionWithNetty>RaftStateMachineExceptionTests.testHandleStateMachineException:81 Unexpected exit.
> [ERROR] Run 2: TestRaftStateMachineExceptionWithNetty>BaseTest.assertNotTerminated:61 Unexpected exit.
> [INFO]
> [ERROR] org.apache.ratis.netty.TestRaftStateMachineExceptionWithNetty.testRetryOnExceptionDuringReplication(org.apache.ratis.netty.TestRaftStateMachineExceptionWithNetty)
> [ERROR] Run 1: TestRaftStateMachineExceptionWithNetty>RaftStateMachineExceptionTests.testRetryOnExceptionDuringReplication:145 Unexpected exit.
> [ERROR] Run 2: TestRaftStateMachineExceptionWithNetty>BaseTest.assertNotTerminated:61 Unexpected exit.
> [INFO]
> [ERROR] org.apache.ratis.netty.TestRaftStateMachineExceptionWithNetty.testRetryOnStateMachineException(org.apache.ratis.netty.TestRaftStateMachineExceptionWithNetty)
> [ERROR] Run 1: TestRaftStateMachineExceptionWithNetty>RaftStateMachineExceptionTests.testRetryOnStateMachineException:99 Unexpected exit.
> [ERROR] Run 2: TestRaftStateMachineExceptionWithNetty>BaseTest.assertNotTerminated:61 Unexpected exit.
> [INFO]
> [ERROR] TestRaftSnapshotWithSimulatedRpc>RaftSnapshotBaseTest.testBasicInstallSnapshot:203->RaftSnapshotBaseTest.assertLeaderContent:82 Is not notified as a leader
> [ERROR] TestRaftSnapshotWithSimulatedRpc>RaftSnapshotBaseTest.testRestartPeer:146->RaftSnapshotBaseTest.assertLeaderContent:82 Is not notified as a leader
> [ERROR] Errors:
> [ERROR] TestInstallSnapshotNotificationWithGrpc>InstallSnapshotNotificationTests.testRestartFollower:193->InstallSnapshotNotificationTests.testRestartFollower:204 » TestTimedOut
> [ERROR] TestRaftAsyncWithGrpc>RaftAsyncTests.testWithLoadAsync:258->RaftAsyncTests.lambda$testWithLoadAsync$7:259 » TestTimedOut
> [ERROR] TestWatchRequestWithGrpc>WatchRequestTests.testWatchRequestAsyncChangeLeader:295->WatchRequestTests.lambda$testWatchRequestAsyncChangeLeader$6:296->WatchRequestTests.runTest:124->WatchRequestTests.runTestWatchRequestAsyncChangeLeader:330->WatchRequestTests.checkAll:263 » Timeout
> [ERROR] TestRaftStateMachineExceptionWithSimulatedRpc>RaftStateMachineExceptionTests.testRetryOnExceptionDuringReplication:145->RaftStateMachineExceptionTests.runTestRetryOnExceptionDuringReplication:170 » NullPointer
> [INFO]
> [ERROR] Tests run: 261, Failures: 13, Errors: 4, Skipped: 4
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)