Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8025

Flaky Test RocksDBGenericOptionsToDbOptionsColumnFamilyOptionsAdapterTest#shouldForwardAllDbOptionsCalls

    XMLWordPrintableJSON

    Details

      Description

      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)

      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
      
      

       

        Attachments

          Activity

            People

            • Assignee:
              mjsax Matthias J. Sax
              Reporter:
              kkonstantine Konstantine Karantasis
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: