Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.2.0
-
None
Description
Observed two failures of this test (both in PR builds)
Failure #1: (JDK 7 and Scala 2.11 )
17:20:49 kafka.server.DynamicBrokerReconfigurationTest > testAddRemoveSslListener FAILED
17:20:49 java.lang.AssertionError: expected:<10> but was:<12>
17:20:49 at org.junit.Assert.fail(Assert.java:88)
17:20:49 at org.junit.Assert.failNotEquals(Assert.java:834)
17:20:49 at org.junit.Assert.assertEquals(Assert.java:645)
17:20:49 at org.junit.Assert.assertEquals(Assert.java:631)
17:20:49 at kafka.server.DynamicBrokerReconfigurationTest.verifyProduceConsume(DynamicBrokerReconfigurationTest.scala:959)
17:20:49 at kafka.server.DynamicBrokerReconfigurationTest.verifyRemoveListener(DynamicBrokerReconfigurationTest.scala:784)
17:20:49 at kafka.server.DynamicBrokerReconfigurationTest.testAddRemoveSslListener(DynamicBrokerReconfigurationTest.scala:705)
Failure #2: (JDK 8)
18:46:23 kafka.server.DynamicBrokerReconfigurationTest > testAddRemoveSslListener FAILED
18:46:23 java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is not the leader for that topic-partition.
18:46:23 at org.apache.kafka.clients.producer.internals.FutureRecordMetadata.valueOrError(FutureRecordMetadata.java:94)
18:46:23 at org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:77)
18:46:23 at org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:29)
18:46:23 at kafka.server.DynamicBrokerReconfigurationTest.$anonfun$verifyProduceConsume$3(DynamicBrokerReconfigurationTest.scala:953)
18:46:23 at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
18:46:23 at scala.collection.Iterator.foreach(Iterator.scala:929)
18:46:23 at scala.collection.Iterator.foreach$(Iterator.scala:929)
18:46:23 at scala.collection.AbstractIterator.foreach(Iterator.scala:1417)
18:46:23 at scala.collection.IterableLike.foreach(IterableLike.scala:71)
18:46:23 at scala.collection.IterableLike.foreach$(IterableLike.scala:70)
18:46:23 at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
18:46:23 at scala.collection.TraversableLike.map(TraversableLike.scala:234)
18:46:23 at scala.collection.TraversableLike.map$(TraversableLike.scala:227)
18:46:23 at scala.collection.AbstractTraversable.map(Traversable.scala:104)
18:46:23 at kafka.server.DynamicBrokerReconfigurationTest.verifyProduceConsume(DynamicBrokerReconfigurationTest.scala:953)
18:46:23 at kafka.server.DynamicBrokerReconfigurationTest.verifyRemoveListener(DynamicBrokerReconfigurationTest.scala:816)
18:46:23 at kafka.server.DynamicBrokerReconfigurationTest.testAddRemoveSslListener(DynamicBrokerReconfigurationTest.scala:705)
18:46:23
18:46:23 Caused by:
18:46:23 org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is not the leader for that topic-partition.
Attachments
Issue Links
- is related to
-
KAFKA-7957 Flaky Test DynamicBrokerReconfigurationTest#testMetricsReporterUpdate
- Resolved
-
KAFKA-7988 Flaky Test DynamicBrokerReconfigurationTest#testThreadPoolResize
- Resolved
- relates to
-
KAFKA-7966 Flaky Test DynamicBrokerReconfigurationTest#testLogCleanerConfig
- Resolved
-
KAFKA-7976 Flaky Test DynamicBrokerReconfigurationTest#testUncleanLeaderElectionEnable
- Resolved
-
KAFKA-7988 Flaky Test DynamicBrokerReconfigurationTest#testThreadPoolResize
- Resolved
-
KAFKA-6904 DynamicBrokerReconfigurationTest#testAdvertisedListenerUpdate is flaky
- Resolved