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

Fix Ratis Unit Test Failures

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      There are multiple unit test failures in ratis off late. The aim here is to list every failure and try to fix them.

      Attachments

        Issue Links

          1.
          Fix TestRaftStateMachineExceptionWithGrpc#testRetryOnExceptionDuringReplication Sub-task Resolved runzhiwang  
          2.
          Fix TestRaftWithGrpc#testStateMachineMetrics Sub-task Resolved runzhiwang  
          3.
          TestMetaServer#testListLogs Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h
          4.
          Fix Failed UT: TestRaftWithSimulatedRpc#testWithLoad Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h 40m
          5.
          Fix TestRaftAsyncWithGrpc#testNoRetryWaitOnNotLeaderException Sub-task Resolved Lokesh Jain

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 20m
          6.
          Fix TestStateMachineShutdownWithGrpc Sub-task Resolved Unassigned  
          7.
          Failed UT: GroupManagementBaseTest.runMultiGroupTest Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 10m
          8.
          Failed UT because error use of attemptRepeatedly to check boolean condition Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 10m
          9.
          Failed unit test because test before MiniRaftCluster ready Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 50m
          10.
          Failed UT: testStateMachineMetrics.checkFollowerCommitLagsLeader Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 40m
          11.
          Failed UT: TestRaftLogMetrics.testRaftLogMetrics Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h 10m
          12.
          Failed UT: testStateMachineMetrics Sub-task Resolved runzhiwang  
          13.
          Fix TestLogAppenderWithGrpc#testRestartLogAppender Sub-task Resolved runzhiwang  
          14.
          Fix TestRaftSnapshotWithGrpc and TestRaftSnapshotWithSimulatedRpc Sub-task Resolved Attila Doroszlai

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 0.5h
          15.
          Failed UT: TestMetaServer.testReadWritetoLog Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 0.5h
          16.
          Fix Failed UT: runTestRetryOnStateMachineException Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 40m
          17.
          Failed UT: RaftStateMachineExceptionTests.runTestRetryOnExceptionDuringReplication Sub-task Resolved runzhiwang  
          18.
          Failed UT: LogServiceReadWriteBase.testSeeking Sub-task Resolved runzhiwang  
          19.
          Failed UT: RaftExceptionBaseTest.testHandleNotLeaderAndIOException Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 40m
          20.
          Failed UT: WatchRequestTests.testWatchRequestClientTimeout Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 50m
          21.
          Failed UT: RaftSnapshotBaseTest.testBasicInstallSnapshot IllegalState Sub-task Resolved runzhiwang  
          22.
          Fix Failed UT: RaftSnapshotBaseTest.testBasicInstallSnapshot Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h 20m
          23.
          Failed UT: testFileStoreAsync Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 0.5h
          24.
          Failed UT: testRestartLogAppender Sub-task Resolved runzhiwang  
          25.
          Netty tests fail with RejectedExecutionException on channel close Sub-task Resolved Lokesh Jain

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 10m
          26.
          Failed UT: Can not mock final class Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 10m
          27.
          Failed UT: TestRaftSnapshotWithGrpc.testBasicInstallSnapshot Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 10m
          28.
          Failed UT: testUpdateViaHeartbeat Sub-task Resolved runzhiwang  
          29.
          Failed UT: testRaftServerMetrics Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h
          30.
          Fix failed UT: testRestartLogAppender Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 0.5h
          31.
          Fix failed UT: testAddNewFollowers Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h
          32.
          Fix failed UT caused by RATIS-757 Sub-task Resolved runzhiwang  
          33.
          Fix failed UT: testRaftLogMetrics Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h
          34.
          Fix failed UT: testGroupInfo Sub-task Resolved runzhiwang  
          35.
          Fix Failed UT: runTestUpdateViaHeartbeat Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 40m
          36.
          Fix failed UT: runTestRetryOnExceptionDuringReplication Sub-task Resolved runzhiwang  
          37.
          Fix Failed UT: testGroupInfo Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 50m
          38.
          Fix failed UT: testMultipleLinearRandomRetry Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h 20m
          39.
          Explicitly print "term=" in ServerState.toString to improve readability Sub-task Resolved Rui Wang  
          40.
          Failed UT: testOldLeaderCommit: expected leader is different than actual leader Sub-task Resolved Rui Wang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 50m
          41.
          Fix TestGrpcOutputStream.testKillLeader Sub-task Resolved Rui Wang  
          42.
          Fix Failed UT: RaftBasicTests.runTestOldLeaderNotCommit: IndexOutOfBounds Sub-task Resolved Rui Wang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 0.5h
          43.
          RATIS-1159. Wait ChannelFuture be completed before getting the local address of the channel Sub-task Resolved Rui Wang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 0.5h
          44.
          Fix TestLogAppenderWithSimulatedRpc.testUnlimitedElementBuffer throw NPE Sub-task Resolved runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h
          45.
          Fix TestGrpcOutputStream.testSimpleWrite Sub-task Resolved Rui Wang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 2h 20m
          46.
          Failed UT: testLogServiceReadWrite Sub-task Open runzhiwang  
          47.
          Failed UT: testBasicAppendEntriesKillLeader Sub-task Open runzhiwang  
          48.
          Fix TestFileStoreWithGrpc#testFileStore Sub-task Open runzhiwang  
          49.
          Failed UT: FileStoreAsyncBaseTest.testMultipleFiles Sub-task Open runzhiwang  
          50.
          Failed UT: RaftReconfigurationBaseTest.runTestOverlappedSetConfRequests Sub-task Open runzhiwang  
          51.
          Failed UT: LeaderElectionTests.testChangeLeader Sub-task Open runzhiwang  
          52.
          Failed UT: TestRaftServerWithGrpc.testServerRestartOnException Sub-task Open runzhiwang  
          53.
          Fix TestMetaServer timeout Sub-task Open runzhiwang  
          54.
          Fix TestServerRestartWithSimulatedRpc#testRestartWithCorruptedLogHeader Sub-task Open runzhiwang  
          55.
          Fix TestServerRestartWithGrpc#testRestartFollower Sub-task Open runzhiwang  
          56.
          Failed UT: RaftBasicTests.runTestBasicAppendEntries Sub-task Open runzhiwang  
          57.
          Fix Failed UT: testBasicInstallSnapshot Sub-task Open runzhiwang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 40m
          58.
          Fix failed UT: OverlappingFileLockException Sub-task Open runzhiwang  
          59.
          Fix failed UT: testLateServerStart Sub-task Open runzhiwang  
          60.
          Failed UT: testOldLeaderCommit Sub-task Open runzhiwang  
          61.
          Fix TestMultiRaftGroup Sub-task Open Rui Wang  
          62.
          Failed UT: address already in use in Grpc Sub-task Open runzhiwang  
          63.
          Fix failed UT: Failed to start NettyRpcService Sub-task Open runzhiwang  
          64.
          Fix TestRaftReconfiguration.testRestorePriority Sub-task Open Rui Wang

          100%

          Original Estimate - Not Specified Original Estimate - Not Specified
          Time Spent - 1h
          65.
          Fix failed UT: testMultipleStreamsMultipleServersStepDownLeader Sub-task Open runzhiwang  
          66.
          TestNettyDataStreamChainTopologyWithGrpcCluster fails sometimes Sub-task Open Unassigned  
          67.
          TestNettyDataStreamStarTopologyWithGrpcCluster and TestNettyDataStreamChainTopologyWithGrpcCluster fail intermittently Sub-task Open Unassigned  
          68.
          checkLeadership() may make some test case become flaky under GitHub CI. Sub-task Open Glen Geng  

          Activity

            People

              shashikant Shashikant Banerjee
              shashikant Shashikant Banerjee
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 24h 40m
                  24h 40m