Hi Ashish,

Just found your email in my spam folder.  Sorry for the late reply.  I will
try and see if I can reproduce the failure.

Tsz-Wo


On Tue, May 14, 2024 at 8:55 AM Ashish <[email protected]> wrote:

> Hello Folks,
>
> I have been trying to build Ratis locally (main branch) and constantly
> hitting with a TestRaftLogTruncateWithGrpc failure. Since CI is running
> fine, it might be some local issue, any pointers are welcome.
>
> Local dev env is
>
> bash-5.1$ java --version
> openjdk 11.0.16 2022-07-19 LTS
> OpenJDK Runtime Environment Zulu11.58+15-CA (build 11.0.16+8-LTS)
> OpenJDK 64-Bit Server VM Zulu11.58+15-CA (build 11.0.16+8-LTS, mixed mode)
>
> Same issue with Java 8 as well
>
> bash-5.1$ mvn --version
> Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
> Maven home: /Users/ashishpaliwal/tools/apache-maven-3.9.4
> Java version: 11.0.16, vendor: Azul Systems, Inc., runtime:
> /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "14.4.1", arch: "aarch64", family: "mac"
>
> Here is the failure
>
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
> 29.712 s <<< FAILURE! - in
> org.apache.ratis.grpc.TestRaftLogTruncateWithGrpc
> [ERROR] org.apache.ratis.grpc.TestRaftLogTruncateWithGrpc.testLogTruncate
>  Time elapsed: 29.55 s  <<< FAILURE!
> org.opentest4j.AssertionFailedError: s3 TransactionContextMap is non-empty
> ==> expected: <true> but was: <false>
> at
>
> org.apache.ratis.RaftLogTruncateTests.assertEmptyTransactionContextMap(RaftLogTruncateTests.java:235)
> at
>
> org.apache.ratis.RaftLogTruncateTests.runTestLogTruncate(RaftLogTruncateTests.java:222)
> at
>
> org.apache.ratis.RaftLogTruncateTests.runTestLogTruncate(RaftLogTruncateTests.java:115)
> at
>
> org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:141)
> at
>
> org.apache.ratis.server.impl.MiniRaftCluster$Factory$Get.runWithNewCluster(MiniRaftCluster.java:121)
> at
>
> org.apache.ratis.RaftLogTruncateTests.testLogTruncate(RaftLogTruncateTests.java:93)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
>
> --
> thanks
> ashish
>

Reply via email to