See
<https://builds.apache.org/job/kafka-2.1-jdk8/195/display/redirect?page=changes>
Changes:
[jason] MINOR: Increase security test timeouts for transient failures (#6760)
------------------------------------------
[...truncated 654.82 KB...]
Caused by:
java.lang.ClassNotFoundException: kafka.server.MetadataCache
kafka.server.KafkaConfigTest > initializationError STARTED
kafka.server.KafkaConfigTest > initializationError FAILED
java.lang.NoClassDefFoundError: kafka/server/KafkaConfig
Caused by:
java.lang.ClassNotFoundException: kafka.server.KafkaConfig
kafka.server.ListOffsetsRequestTest > initializationError STARTED
kafka.server.ListOffsetsRequestTest > initializationError FAILED
java.lang.NoClassDefFoundError: kafka/utils/Logging
Caused by:
java.lang.ClassNotFoundException: kafka.utils.Logging
kafka.server.CreateTopicsRequestTest > initializationError STARTED
kafka.server.CreateTopicsRequestTest > initializationError FAILED
java.lang.NoClassDefFoundError: kafka/utils/Logging
Caused by:
java.lang.ClassNotFoundException: kafka.utils.Logging
kafka.server.CreateTopicsRequestWithPolicyTest > initializationError STARTED
kafka.server.CreateTopicsRequestWithPolicyTest > initializationError FAILED
java.lang.NoClassDefFoundError: kafka/utils/Logging
Caused by:
java.lang.ClassNotFoundException: kafka.utils.Logging
kafka.server.FetchRequestDownConversionConfigTest > initializationError STARTED
kafka.server.FetchRequestDownConversionConfigTest > initializationError FAILED
java.lang.NoClassDefFoundError: kafka/utils/Logging
Caused by:
java.lang.ClassNotFoundException: kafka.utils.Logging
kafka.server.SaslApiVersionsRequestTest > initializationError STARTED
kafka.server.SaslApiVersionsRequestTest > initializationError FAILED
java.lang.NoClassDefFoundError: kafka/utils/Logging
Caused by:
java.lang.ClassNotFoundException: kafka.utils.Logging
kafka.server.LogDirFailureTest > initializationError STARTED
kafka.server.LogDirFailureTest > initializationError FAILED
java.lang.NoClassDefFoundError: kafka/utils/Logging
Caused by:
java.lang.ClassNotFoundException: kafka.utils.Logging
kafka.server.AlterReplicaLogDirsRequestTest > initializationError STARTED
kafka.server.AlterReplicaLogDirsRequestTest > initializationError FAILED
java.lang.NoClassDefFoundError: kafka/utils/Logging
Caused by:
java.lang.ClassNotFoundException: kafka.utils.Logging
kafka.server.ServerGenerateBrokerIdTest > initializationError STARTED
kafka.server.ServerGenerateBrokerIdTest > initializationError FAILED
java.lang.NoClassDefFoundError: kafka/utils/Logging
Caused by:
java.lang.ClassNotFoundException: kafka.utils.Logging
kafka.server.DeleteTopicsRequestWithDeletionDisabledTest > initializationError
STARTED
kafka.server.DeleteTopicsRequestWithDeletionDisabledTest > initializationError
FAILED
java.lang.NoClassDefFoundError: kafka/utils/Logging
Caused by:
java.lang.ClassNotFoundException: kafka.utils.Logging
kafka.server.ServerShutdownTest > initializationError STARTED
kafka.server.ServerShutdownTest > initializationError FAILED
java.lang.NoClassDefFoundError: kafka/utils/Logging
Caused by:
java.lang.ClassNotFoundException: kafka.utils.Logging
unit.kafka.utils.ThrottlerTest > testThrottleDesiredRate STARTED
unit.kafka.utils.ThrottlerTest > testThrottleDesiredRate FAILED
java.lang.NoClassDefFoundError: kafka/utils/Throttler$
at
unit.kafka.utils.ThrottlerTest.testThrottleDesiredRate(ThrottlerTest.scala:34)
Caused by:
java.lang.ClassNotFoundException: kafka.utils.Throttler$
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more
273 tests completed, 273 failed
> Task :core:compileScala
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/AclCommand.scala>:452:
method readLine in class DeprecatedConsole is deprecated: Use the method in
scala.io.StdIn
Console.readLine().equalsIgnoreCase("y")
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:64:
trait AdminUtilities in package admin is deprecated: This class is deprecated
and will be replaced by kafka.zk.AdminZkClient.
object AdminUtils extends Logging with AdminUtilities {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:379:
class ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
def topicExists(zkUtils: ZkUtils, topic: String): Boolean =
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:380:
object ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
zkUtils.pathExists(getTopicPath(topic))
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:470:
class ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
private def writeTopicPartitionAssignment(zkUtils: ZkUtils, topic: String,
replicaAssignment: Map[Int, Seq[Int]], update: Boolean) {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:472:
object ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
val zkPath = getTopicPath(topic)
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:526:
class ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
def validateTopicConfig(zkUtils: ZkUtils, topic: String, configs:
Properties): Unit = {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:565:
class ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
private def changeEntityConfig(zkUtils: ZkUtils, rootEntityType: String,
fullSanitizedEntityName: String, configs: Properties) {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:567:
object ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
val entityConfigPath = getEntityConfigPath(rootEntityType,
fullSanitizedEntityName)
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:572:
object ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
val seqNode = ZkUtils.ConfigChangesPath + "/" +
EntityConfigChangeZnodePrefix
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:584:
class ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
private def writeEntityConfig(zkUtils: ZkUtils, entityPath: String, config:
Properties) {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/BrokerApiVersionsCommand.scala>:53:
class AdminClient in package admin is deprecated: This class is deprecated in
favour of org.apache.kafka.clients.admin.AdminClient and it will be removed in
a future release.
private def createAdminClient(opts: BrokerVersionCommandOptions): AdminClient
= {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/BrokerApiVersionsCommand.scala>:59:
object AdminClient in package admin is deprecated: This class is deprecated in
favour of org.apache.kafka.clients.admin.AdminClient and it will be removed in
a future release.
AdminClient.create(props)
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/TopicCommand.scala>:393:
method readLine in class DeprecatedConsole is deprecated: Use the method in
scala.io.StdIn
if (!Console.readLine().equalsIgnoreCase("y")) {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/ZkSecurityMigrator.scala>:108:
object ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
val zkUtils = ZkUtils(zkUrl, zkSessionTimeout, zkConnectionTimeout, zkAcl)
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/ZkSecurityMigrator.scala>:123:
class ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
class ZkSecurityMigrator(zkUtils: ZkUtils) extends Logging {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/admin/ZkSecurityMigrator.scala>:221:
object ZkUtils in package utils is deprecated: This is an internal class that
is no longer used by Kafka and will be removed in a future release. Please use
org.apache.kafka.clients.admin.AdminClient instead.
for (path <- ZkUtils.SecureZkRootPaths) {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:348:
value timestamp in class PartitionData is deprecated: see corresponding
Javadoc for more information.
commitTimestamp = partitionData.timestamp match {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:352:
method retentionTime in class OffsetCommitRequest is deprecated: see
corresponding Javadoc for more information.
expireTimestamp = offsetCommitRequest.retentionTime match {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:768:
constructor PartitionData in class PartitionData is deprecated: see
corresponding Javadoc for more information.
new ListOffsetResponse.PartitionData(Errors.TOPIC_AUTHORIZATION_FAILED,
List[JLong]().asJava)
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:776:
value maxNumOffsets in class PartitionData is deprecated: see corresponding
Javadoc for more information.
maxNumOffsets = partitionData.maxNumOffsets,
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:779:
constructor PartitionData in class PartitionData is deprecated: see
corresponding Javadoc for more information.
(topicPartition, new ListOffsetResponse.PartitionData(Errors.NONE,
offsets.map(new JLong(_)).asJava))
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:788:
constructor PartitionData in class PartitionData is deprecated: see
corresponding Javadoc for more information.
(topicPartition, new
ListOffsetResponse.PartitionData(Errors.forException(e), List[JLong]().asJava))
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:791:
constructor PartitionData in class PartitionData is deprecated: see
corresponding Javadoc for more information.
(topicPartition, new
ListOffsetResponse.PartitionData(Errors.forException(e), List[JLong]().asJava))
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/server/KafkaConfig.scala>:226:
value DEFAULT_SASL_ENABLED_MECHANISMS in object SaslConfigs is deprecated: see
corresponding Javadoc for more information.
val SaslEnabledMechanisms = SaslConfigs.DEFAULT_SASL_ENABLED_MECHANISMS
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/server/ReplicaFetcherThread.scala>:230:
value offsets in class PartitionData is deprecated: see corresponding Javadoc
for more information.
responsePartitionData.offsets.get(0)
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/tools/ConsoleConsumer.scala>:571:
method checksum in class ConsumerRecord is deprecated: see corresponding
Javadoc for more information.
output.println(topicStr + "checksum:" + consumerRecord.checksum)
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/tools/MirrorMaker.scala>:351:
class BaseConsumerRecord in package consumer is deprecated: This class has
been deprecated and will be removed in a future release. Please use
org.apache.kafka.clients.consumer.ConsumerRecord instead.
private def toBaseConsumerRecord(record: ConsumerRecord[Array[Byte],
Array[Byte]]): BaseConsumerRecord =
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/tools/MirrorMaker.scala>:571:
class BaseConsumerRecord in package consumer is deprecated: This class has
been deprecated and will be removed in a future release. Please use
org.apache.kafka.clients.consumer.ConsumerRecord instead.
def handle(record: BaseConsumerRecord):
util.List[ProducerRecord[Array[Byte], Array[Byte]]]
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/tools/MirrorMaker.scala>:575:
class BaseConsumerRecord in package consumer is deprecated: This class has
been deprecated and will be removed in a future release. Please use
org.apache.kafka.clients.consumer.ConsumerRecord instead.
override def handle(record: BaseConsumerRecord):
util.List[ProducerRecord[Array[Byte], Array[Byte]]] = {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/utils/IteratorTemplate.scala>:50:
non-nullary method overrides nullary method
def hasNext: Boolean = {
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/utils/json/DecodeJson.scala>:50:
constructor JsonMappingException in class JsonMappingException is deprecated:
see corresponding Javadoc for more information.
throw new JsonMappingException(x)
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/utils/json/JsonObject.scala>:34:
constructor JsonMappingException in class JsonMappingException is deprecated:
see corresponding Javadoc for more information.
get(name).getOrElse(throw new JsonMappingException(s"No such field exists:
`$name`"))
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/utils/json/JsonValue.scala>:62:
constructor JsonMappingException in class JsonMappingException is deprecated:
see corresponding Javadoc for more information.
asJsonObjectOption.getOrElse(throw new JsonMappingException(s"Expected JSON
object, received $node"))
^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/utils/json/JsonValue.scala>:79:
constructor JsonMappingException in class JsonMappingException is deprecated:
see corresponding Javadoc for more information.
asJsonArrayOption.getOrElse(throw new JsonMappingException(s"Expected JSON
array, received $node"))
^
39 warnings found
Note:
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/main/scala/kafka/tools/StreamsResetter.java>
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :core:processResources NO-SOURCE
> Task :core:classes
> Task :testScala_2_12 FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':kafka-2.1-jdk8:core:test'.
> There were failing tests. See the report at:
> file://<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/build/reports/tests/test/index.html>
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1h 47m 34s
37 actionable tasks: 9 executed, 28 up-to-date
Build step 'Execute shell' marked build as failure
[FINDBUGS] Collecting findbugs analysis files...
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
[FINDBUGS] Searching for all files in
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/> that match the pattern
**/build/reports/findbugs/*.xml
[FINDBUGS] No files found. Configuration error?
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
No credentials specified
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
<Git Blamer> Using GitBlamer to create author and commit information for all
warnings.
<Git Blamer> GIT_COMMIT=8ba7173da2c412b448c5754644f62447c2a5b333,
workspace=<https://builds.apache.org/job/kafka-2.1-jdk8/ws/>
[FINDBUGS] Computing warning deltas based on reference build #194
Recording test results
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1