Skip to content

Flaky-test: AuditorReplicasCheckTest #3550

@aditya-kumbhar

Description

@aditya-kumbhar

AuditorReplicasCheckTest has the following tests that are flaky, detected using Nondex.
testReplicasCheckForLedgersFoundHavingLessThanAQReplicasOfAnEntry()
testReplicasCheckForLedgersFoundHavingLessThanWQReplicasOfAnEntry()
testReplicasCheckForLedgersFoundHavingNoReplica()
testReplicasCheckForLedgersWithEmptySegments()

All fail with a similar error as below.

[INFO] Running org.apache.bookkeeper.replication.AuditorReplicasCheckTest
[ERROR] Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.48 s <<< FAILURE! - in org.apache.bookkeeper.replication.AuditorReplicasCheckTest
[ERROR] org.apache.bookkeeper.replication.AuditorReplicasCheckTest.testReplicasCheckForBookieHandleNotAvailable  Time elapsed: 1.287 s  <<< ERROR!
java.lang.IllegalArgumentException: New entry must have a first entry greater than any existing ensemble key
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)
	at org.apache.bookkeeper.client.LedgerMetadataBuilder.newEnsembleEntry(LedgerMetadataBuilder.java:146)
	at org.apache.bookkeeper.replication.AuditorReplicasCheckTest.createClosedLedgerMetadata(AuditorReplicasCheckTest.java:202)
	at org.apache.bookkeeper.replication.AuditorReplicasCheckTest.testReplicasCheckForBookieHandleNotAvailable(AuditorReplicasCheckTest.java:324)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions