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

Flaky Test kafka.api.SaslSslConsumerTest.testCoordinatorFailover

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0, 2.5.2, 2.6.1
    • Component/s: core, unit tests
    • Labels:
      None

      Description

      From build https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/3829/

       

      kafka.api.SaslSslConsumerTest > testCoordinatorFailover FAILED
      11:27:15     java.lang.AssertionError: expected:<None> but was:<Some(org.apache.kafka.clients.consumer.CommitFailedException: Offset commit cannot be completed since the consumer is not part of an active group for auto partition assignment; it is likely that the consumer was kicked out of the group.)>
      11:27:15         at org.junit.Assert.fail(Assert.java:89)
      11:27:15         at org.junit.Assert.failNotEquals(Assert.java:835)
      11:27:15         at org.junit.Assert.assertEquals(Assert.java:120)
      11:27:15         at org.junit.Assert.assertEquals(Assert.java:146)
      11:27:15         at kafka.api.AbstractConsumerTest.sendAndAwaitAsyncCommit(AbstractConsumerTest.scala:195)
      11:27:15         at kafka.api.AbstractConsumerTest.ensureNoRebalance(AbstractConsumerTest.scala:302)
      11:27:15         at kafka.api.BaseConsumerTest.testCoordinatorFailover(BaseConsumerTest.scala:76)
      11:27:15         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      11:27:15         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      11:27:15         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      11:27:15         at java.lang.reflect.Method.invoke(Method.java:498)
      11:27:15         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
      11:27:15         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      11:27:15         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
      11:27:15         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      11:27:15         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      11:27:15         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      11:27:15         at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      11:27:15         at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
      11:27:15         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
      11:27:15         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
      11:27:15         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
      11:27:15         at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
      11:27:15         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      11:27:15         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
      11:27:15         at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
      11:27:15         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
      11:27:15         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      11:27:15         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      11:27:15         at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      11:27:15         at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      11:27:15         at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:110)
      11:27:15         at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
      11:27:15         at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
      11:27:15         at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
      11:27:15         at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
      11:27:15         at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
      11:27:15         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      11:27:15         at java.lang.reflect.Method.invoke(Method.java:498)
      11:27:15         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      11:27:15         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      11:27:15         at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
      11:27:15         at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
      11:27:15         at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
      11:27:15         at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:119)
      11:27:15         at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
      11:27:15         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      11:27:15         at java.lang.reflect.Method.invoke(Method.java:498)
      11:27:15         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      11:27:15         at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      11:27:15         at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
      11:27:15         at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
      11:27:15         at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:414)
      11:27:15         at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
      11:27:15         at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
      11:27:15         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      11:27:15         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      11:27:15         at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
      11:27:15         at java.lang.Thread.run(Thread.java:748)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rsivaram Rajini Sivaram
                Reporter:
                bbejeck Bill Bejeck
                Reviewer:
                Manikumar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: