Konstantine Karantasis created KAFKA-8025:
---------------------------------------------

             Summary: Flaky Test 
RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest#shouldForwardAllDbOptionsCalls
                 Key: KAFKA-8025
                 URL: https://issues.apache.org/jira/browse/KAFKA-8025
             Project: Kafka
          Issue Type: Bug
          Components: streams, unit tests
            Reporter: Konstantine Karantasis
            Assignee: Guozhang Wang


At least one occurence where the following unit test case failed on a jenkins 
job that didn't involve any related changes. 

[https://builds.apache.org/job/kafka-pr-jdk11-scala2.12/2783/consoleFull]

I have not been able to reproduce it locally on Linux. (For instance 20 
consecutive runs of this class pass all test cases)
{code:java}
14:06:13 
org.apache.kafka.streams.state.internals.RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest
 > shouldForwardAllDbOptionsCalls STARTED 14:06:14 
org.apache.kafka.streams.state.internals.RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest.shouldForwardAllDbOptionsCalls
 failed, log available in 
/home/jenkins/jenkins-slave/workspace/kafka-pr-jdk11-scala2.12/streams/build/reports/testOutput/org.apache.kafka.streams.state.internals.RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest.shouldForwardAllDbOptionsCalls.test.stdout
 14:06:14 14:06:14 
org.apache.kafka.streams.state.internals.RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest
 > shouldForwardAllDbOptionsCalls FAILED 14:06:14     java.lang.AssertionError: 
14:06:14     Expected: a string matching the pattern 'Unexpected method call 
DBOptions\.baseBackgroundCompactions((.* 14:06:14     *)*):' 14:06:14          
but: was "Unexpected method call DBOptions.baseBackgroundCompactions():\n    
DBOptions.close(): expected: 3, actual: 0" 14:06:14         at 
org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18) 14:06:14         
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6) 14:06:14         
at 
org.apache.kafka.streams.state.internals.RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest.verifyDBOptionsMethodCall(RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest.java:121)
 14:06:14         at 
org.apache.kafka.streams.state.internals.RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest.shouldForwardAllDbOptionsCalls(RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest.java:101)
 14:06:14 14:06:14 
org.apache.kafka.streams.state.internals.RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest
 > shouldForwardAllColumnFamilyCalls STARTED 14:06:14 14:06:14 
org.apache.kafka.streams.state.internals.RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest
 > shouldForwardAllColumnFamilyCalls PASSED

{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to