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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
