You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2022/03/30 18:46:27 UTC

[GitHub] [bookkeeper] dlg99 opened a new issue #3162: Flaky-test: org.apache.distributedlog.TestTruncate

dlg99 opened a new issue #3162:
URL: https://github.com/apache/bookkeeper/issues/3162


   `mvn test -f stream/distributedlog/core/pom.xml` 
   ```
   [ERROR] Tests run: 7, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 112.456 s <<< FAILURE! - in org.apache.distributedlog.TestTruncate
   [ERROR] org.apache.distributedlog.TestTruncate.testTruncation  Time elapsed: 20.812 s  <<< ERROR!
   org.apache.distributedlog.exceptions.BKTransmitException: Failed to write to bookkeeper; Error is (-6) Not enough non-faulty bookies available : -6
   ```
   
   The tests flake (sometimes fail with error above, sometime VM crashes) on my mac but pass if I run them one by one:
   ```
   mvn test -f stream/distributedlog/core/pom.xml -Dtest=org.apache.distributedlog.TestTruncate#testPurgeLogs
   mvn test -f stream/distributedlog/core/pom.xml -Dtest=org.apache.distributedlog.TestTruncate#testTruncation
   mvn test -f stream/distributedlog/core/pom.xml -Dtest=org.apache.distributedlog.TestTruncate#testExplicitTruncation
   mvn test -f stream/distributedlog/core/pom.xml -Dtest=org.apache.distributedlog.TestTruncate#testOnlyPurgeSegmentsBeforeNoneFullyTruncatedSegment
   mvn test -f stream/distributedlog/core/pom.xml -Dtest=org.apache.distributedlog.TestTruncate#testPartiallyTruncateTruncatedSegments
   ```
   
   probably there is some race in test setup/teardown


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org