[ https://issues.apache.org/jira/browse/KAFKA-6904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax resolved KAFKA-6904. ------------------------------------ Resolution: Duplicate > DynamicBrokerReconfigurationTest#testAdvertisedListenerUpdate is flaky > ---------------------------------------------------------------------- > > Key: KAFKA-6904 > URL: https://issues.apache.org/jira/browse/KAFKA-6904 > Project: Kafka > Issue Type: Test > Components: core, unit tests > Reporter: Ted Yu > Priority: Critical > Labels: flaky-test > > From > https://builds.apache.org/job/kafka-pr-jdk10-scala2.12/820/testReport/junit/kafka.server/DynamicBrokerReconfigurationTest/testAdvertisedListenerUpdate/ > : > {code} > kafka.server.DynamicBrokerReconfigurationTest.testAdvertisedListenerUpdate > Failing for the past 1 build (Since Failed#820 ) > Took 21 sec. > Error Message > java.util.concurrent.ExecutionException: > org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is > not the leader for that topic-partition. > Stacktrace > java.util.concurrent.ExecutionException: > org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is > not the leader for that topic-partition. > at > org.apache.kafka.clients.producer.internals.FutureRecordMetadata.valueOrError(FutureRecordMetadata.java:94) > at > org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:77) > at > org.apache.kafka.clients.producer.internals.FutureRecordMetadata.get(FutureRecordMetadata.java:29) > at > kafka.server.DynamicBrokerReconfigurationTest.$anonfun$verifyProduceConsume$3(DynamicBrokerReconfigurationTest.scala:996) > at > scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234) > at scala.collection.Iterator.foreach(Iterator.scala:944) > at scala.collection.Iterator.foreach$(Iterator.scala:944) > at scala.collection.AbstractIterator.foreach(Iterator.scala:1432) > at scala.collection.IterableLike.foreach(IterableLike.scala:71) > at scala.collection.IterableLike.foreach$(IterableLike.scala:70) > at scala.collection.AbstractIterable.foreach(Iterable.scala:54) > at scala.collection.TraversableLike.map(TraversableLike.scala:234) > at scala.collection.TraversableLike.map$(TraversableLike.scala:227) > at scala.collection.AbstractTraversable.map(Traversable.scala:104) > at > kafka.server.DynamicBrokerReconfigurationTest.verifyProduceConsume(DynamicBrokerReconfigurationTest.scala:996) > at > kafka.server.DynamicBrokerReconfigurationTest.testAdvertisedListenerUpdate(DynamicBrokerReconfigurationTest.scala:742) > {code} > The above happened with jdk 10. -- This message was sent by Atlassian JIRA (v7.6.3#76005)