Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

ISSUE-2665: ReadOnlyBookieTest is flaky #355

Open
sijie opened this issue Mar 29, 2021 · 0 comments
Open

ISSUE-2665: ReadOnlyBookieTest is flaky #355

sijie opened this issue Mar 29, 2021 · 0 comments
Labels

Comments

@sijie
Copy link
Member

sijie commented Mar 29, 2021

Original Issue: apache#2665


BUG REPORT

Describe the bug

ReadOnlyBookieTest is flaky on current master branch

To Reproduce

mvn clean install -DskipTests
cd bookkeeper-server/
run a few times:
mvn test -Dtest=org.apache.bookkeeper.test.ReadOnlyBookieTest

[INFO] Running org.apache.bookkeeper.test.ReadOnlyBookieTest
[ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 31.14 s <<< FAILURE! - in org.apache.bookkeeper.test.ReadOnlyBookieTest
[ERROR] org.apache.bookkeeper.test.ReadOnlyBookieTest.testBookieContinueWritingIfMultipleLedgersPresent  Time elapsed: 4.151 s  <<< ERROR!
org.apache.bookkeeper.client.BKException$BKNotEnoughBookiesException: Not enough non-faulty bookies available
	at org.apache.bookkeeper.client.SyncCallbackUtils.finish(SyncCallbackUtils.java:83)
	at org.apache.bookkeeper.client.SyncCallbackUtils$SyncAddCallback.addComplete(SyncCallbackUtils.java:251)
	at org.apache.bookkeeper.client.AsyncCallback$AddCallback.addCompleteWithLatency(AsyncCallback.java:92)
	at org.apache.bookkeeper.client.PendingAddOp.submitCallback(PendingAddOp.java:431)
	at org.apache.bookkeeper.client.LedgerHandle.errorOutPendingAdds(LedgerHandle.java:1799)
	at org.apache.bookkeeper.client.LedgerHandle$5.safeRun(LedgerHandle.java:574)
	at org.apache.bookkeeper.common.util.SafeRunnable.run(SafeRunnable.java:36)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:834)

[INFO]
[INFO] Results:
[INFO]
[WARNING] Flakes:
[WARNING] org.apache.bookkeeper.test.ReadOnlyBookieTest.testBookieContinueWritingIfMultipleLedgersPresent
[ERROR]   Run 1: ReadOnlyBookieTest.testBookieContinueWritingIfMultipleLedgersPresent » BKNotEnoughBookies
[INFO]   Run 2: PASS
@sijie sijie added the type/bug label Mar 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant