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

Flaky test org.apache.kafka.connect.integration.OffsetsApiIntegrationTest#testGetSinkConnectorOffsetsDifferentKafkaClusterTargeted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • 3.5.0
    • connect

    Description

      ```

      Error

      org.opentest4j.AssertionFailedError: Condition not met within timeout 15000. Sink connector consumer group offsets should catch up to the topic end offsets ==> expected: <true> but was: <false>

      Stacktrace

      org.opentest4j.AssertionFailedError: Condition not met within timeout 15000. Sink connector consumer group offsets should catch up to the topic end offsets ==> expected: <true> but was: <false>
      at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
      at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
      at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
      at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
      at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:211)
      at app//org.apache.kafka.test.TestUtils.lambda$waitForCondition$4(TestUtils.java:337)
      at app//org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:385)
      at app//org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:334)
      at app//org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:318)
      at app//org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:291)
      at app//org.apache.kafka.connect.integration.OffsetsApiIntegrationTest.getAndVerifySinkConnectorOffsets(OffsetsApiIntegrationTest.java:150)
      at app//org.apache.kafka.connect.integration.OffsetsApiIntegrationTest.testGetSinkConnectorOffsetsDifferentKafkaClusterTargeted(OffsetsApiIntegrationTest.java:131)
      at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base@17.0.7/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base@17.0.7/java.lang.reflect.Method.invoke(Method.java:568)
      at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at app//org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      at app//org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      at app//org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
      at app//org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
      at app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
      at app//org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
      at app//org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      at app//org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      at app//org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      at app//org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      at app//org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      at app//org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:108)
      at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
      at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:40)
      at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:60)
      at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52)
      at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base@17.0.7/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base@17.0.7/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base@17.0.7/java.lang.reflect.Method.invoke(Method.java:568)
      at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      at jdk.proxy1/jdk.proxy1.$Proxy2.processTestClass(Unknown Source)
      at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176)
      at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
      at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
      at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
      at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
      at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
      at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
      at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
      at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
      ```
      https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-13594/5/tests/
       
      The test failure seems unrelated to the changes in the PR. yash.mayya , can you plz take a look?

      Attachments

        Activity

          People

            Unassigned Unassigned
            sagarrao Sagar Rao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: