See <https://builds.apache.org/job/kafka-2.1-jdk8/263/display/redirect?page=changes>
Changes: [konstantine] KAFKA-9810: Document Connect Root REST API on / (#8408) ------------------------------------------ [...truncated 686.57 KB...] } else if (!path.equals(ZkUtils.ConsumersPath)) { ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:126: 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 unsecureZkUtils = ZkUtils(zkConnect, 6000, 6000, false) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:140: 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 unsecureZkUtils = ZkUtils(zkConnect, 6000, 6000, false) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:165: 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/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:181: 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 unsecureZkUtils = ZkUtils(zkUrl, 6000, 6000, false) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:182: 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 secureZkUtils = ZkUtils(zkUrl, 6000, 6000, true) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:195: 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 testMigration(zkUrl: String, firstZk: ZkUtils, secondZk: ZkUtils) { ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:195: 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 testMigration(zkUrl: String, firstZk: ZkUtils, secondZk: ZkUtils) { ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:197: 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 ++ ZkUtils.SensitiveZkRootPaths) { ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:197: 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 ++ ZkUtils.SensitiveZkRootPaths) { ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:210: 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. firstZk.createPersistentPath(ZkUtils.ConsumersPath) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:213: 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. secondZk.createPersistentPath(ZkUtils.ConsumersPath) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:218: 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 ++ ZkUtils.SensitiveZkRootPaths) { ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:218: 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 ++ ZkUtils.SensitiveZkRootPaths) { ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:219: 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 sensitive = ZkUtils.sensitivePath(path) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:228: 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 consumersAcl = firstZk.zkConnection.getAcl(ZkUtils.ConsumersPath).getKey ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:229: 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. assertTrue(ZkUtils.ConsumersPath, isAclCorrect(consumersAcl, false, false)) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:236: 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 sensitive = ZkUtils.sensitivePath(path) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:265: 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 unsecureZkUtils = ZkUtils(zkConnect, 6000, 6000, false) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/security/auth/ZkAuthorizationTest.scala>:283: 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 deleteRecursive(zkUtils: ZkUtils, path: String): Try[Boolean] = { ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/KafkaApisTest.scala>:123: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. val partitionOffsetCommitData = new OffsetCommitRequest.PartitionData(15L, 23, "") ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogDirFailureTest.scala>:143: method poll in class KafkaConsumer is deprecated: see corresponding Javadoc for more information. consumer.poll(0).count() == 1 ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogDirFailureTest.scala>:192: method poll in class KafkaConsumer is deprecated: see corresponding Javadoc for more information. consumer.poll(0).count() > 0 ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogDirFailureTest.scala>:207: method poll in class KafkaConsumer is deprecated: see corresponding Javadoc for more information. consumer.poll(0) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:58: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. new ListOffsetRequest.PartitionData(ListOffsetRequest.LATEST_TIMESTAMP, 10)).asJava).build(0) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:90: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. new ListOffsetRequest.PartitionData(ListOffsetRequest.LATEST_TIMESTAMP, 15)).asJava).build() ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:91: value offsets in class PartitionData is deprecated: see corresponding Javadoc for more information. val consumerOffsets = sendListOffsetsRequest(request).responseData.get(topicPartition).offsets.asScala ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:118: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. new ListOffsetRequest.PartitionData(ListOffsetRequest.LATEST_TIMESTAMP, 15)).asJava).build() ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:119: value offsets in class PartitionData is deprecated: see corresponding Javadoc for more information. val consumerOffsets = sendListOffsetsRequest(request).responseData.get(topicPartition).offsets.asScala ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:146: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. new ListOffsetRequest.PartitionData(ListOffsetRequest.EARLIEST_TIMESTAMP, 1)).asJava).build() ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:147: value offsets in class PartitionData is deprecated: see corresponding Javadoc for more information. val consumerOffsets = sendListOffsetsRequest(request).responseData.get(topicPartition).offsets.asScala ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:178: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. new ListOffsetRequest.PartitionData(now, 15)).asJava).build() ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:179: value offsets in class PartitionData is deprecated: see corresponding Javadoc for more information. val consumerOffsets = sendListOffsetsRequest(request).responseData.get(topicPartition).offsets.asScala ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:205: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. new ListOffsetRequest.PartitionData(ListOffsetRequest.EARLIEST_TIMESTAMP, 10)).asJava).build() ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/LogOffsetTest.scala>:206: value offsets in class PartitionData is deprecated: see corresponding Javadoc for more information. val consumerOffsets = sendListOffsetsRequest(request).responseData.get(topicPartition).offsets.asScala ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/RequestQuotaTest.scala>:243: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. Map(tp -> new OffsetCommitRequest.PartitionData(0, 15, "metadata")).asJava). ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/server/epoch/EpochDrivenReplicationProtocolAcceptanceTest.scala>:242: method poll in class KafkaConsumer is deprecated: see corresponding Javadoc for more information. val records = consumer.poll(1000).asScala ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/utils/TestUtils.scala>:1126: 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 secureZkPaths(zkUtils: ZkUtils): Seq[String] = { ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/utils/TestUtils.scala>:1133: 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 topLevelPaths = ZkUtils.SecureZkRootPaths ++ ZkUtils.SensitiveZkRootPaths ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/utils/TestUtils.scala>:1133: 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 topLevelPaths = ZkUtils.SecureZkRootPaths ++ ZkUtils.SensitiveZkRootPaths ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/utils/TestUtils.scala>:1140: 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 verifySecureZkAcls(zkUtils: ZkUtils, usersWithAccess: Int) { ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/utils/TestUtils.scala>:1143: 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 sensitive = ZkUtils.sensitivePath(path) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/utils/TestUtils.scala>:1158: 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 verifyUnsecureZkAcls(zkUtils: ZkUtils) { ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/utils/ZkUtilsTest.scala>:31: 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. var zkUtils: ZkUtils = _ ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/utils/ZkUtilsTest.scala>:36: 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 = ZkUtils(zkConnect, zkSessionTimeout, zkConnectionTimeout, zkAclsEnabled.getOrElse(JaasUtils.isZkSecurityEnabled)) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/utils/ZkUtilsTest.scala>:99: 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.createPersistentPath(ZkUtils.getTopicPartitionPath(topic, 0)) ^ <https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/src/test/scala/unit/kafka/utils/ZkUtilsTest.scala>:100: 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.createPersistentPath(ZkUtils.getTopicPath("nopartitions")) ^ > Task :examples:spotbugsMain > Task :log4j-appender:spotbugsMain > Task :core:compileTestScala 154 warnings found > Task :core:processTestResources UP-TO-DATE > Task :core:testClasses > Task :connect:api:compileJava UP-TO-DATE > Task :connect:api:processResources NO-SOURCE > Task :connect:api:classes UP-TO-DATE > Task :connect:api:copyDependantLibs UP-TO-DATE > Task :connect:api:jar UP-TO-DATE > Task :connect:json:compileJava UP-TO-DATE > Task :connect:json:processResources NO-SOURCE > Task :connect:json:classes UP-TO-DATE > Task :log4j-appender:test org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppendsWithSyncSendWithoutIgnoringExceptionsShouldNotThrowException STARTED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppendsWithSyncSendWithoutIgnoringExceptionsShouldNotThrowException PASSED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppendsWithRealProducerConfigWithSyncSendAndNotIgnoringExceptionsShouldThrowException STARTED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppendsWithRealProducerConfigWithSyncSendAndNotIgnoringExceptionsShouldThrowException PASSED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppends STARTED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppends PASSED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testKafkaLog4jConfigs STARTED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testKafkaLog4jConfigs PASSED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppendsWithSyncSendAndSimulateProducerFailShouldThrowException STARTED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppendsWithSyncSendAndSimulateProducerFailShouldThrowException PASSED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppendsWithRealProducerConfigWithSyncSendShouldNotThrowException STARTED org.apache.kafka.log4jappender.KafkaLog4jAppenderTest > testLog4jAppendsWithRealProducerConfigWithSyncSendShouldNotThrowException PASSED log4j: Finalizing appender named [KAFKA]. > Task :connect:json:copyDependantLibs UP-TO-DATE > Task :connect:json:jar UP-TO-DATE > Task :streams:compileJava UP-TO-DATE > Task :streams:processResources NO-SOURCE > Task :streams:classes UP-TO-DATE > Task :streams:checkstyleMain > Task :streams:copyDependantLibs > Task :streams:jar UP-TO-DATE > Task :streams:test-utils:compileJava UP-TO-DATE > Task :streams:test-utils:processResources NO-SOURCE > Task :streams:test-utils:classes UP-TO-DATE > Task :streams:test-utils:copyDependantLibs > Task :streams:test-utils:jar UP-TO-DATE > Task :streams:compileTestJava <https://builds.apache.org/job/kafka-2.1-jdk8/ws/streams/src/test/java/org/apache/kafka/streams/processor/internals/InternalTopologyBuilderTest.java>:172: warning: non-varargs call of varargs method with inexact argument type for last parameter; builder.addProcessor("processor", new MockProcessorSupplier(), null); ^ cast to String for a varargs call cast to String[] for a non-varargs call and to suppress this warning <https://builds.apache.org/job/kafka-2.1-jdk8/ws/streams/src/test/java/org/apache/kafka/streams/processor/internals/InternalTopologyBuilderTest.java>:203: warning: non-varargs call of varargs method with inexact argument type for last parameter; builder.addSink("sink", "topic", null, null, null, null); ^ cast to String for a varargs call cast to String[] for a non-varargs call and to suppress this warning Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 warnings > Task :streams:processTestResources UP-TO-DATE > Task :streams:testClasses > Task :testScala_2_11 FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':kafka-2.1-jdk8:core:spotbugsMain'. > A failure occurred while executing > com.github.spotbugs.internal.spotbugs.SpotBugsRunner > SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/build/reports/spotbugs/main.xml> * 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 2h 14m 26s 65 actionable tasks: 25 executed, 40 up-to-date Build step 'Execute shell' marked build as failure [FINDBUGS] Collecting findbugs analysis files... ERROR: No tool found matching GRADLE_4_8_1_HOME [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? ERROR: No tool found matching GRADLE_4_8_1_HOME No credentials specified ERROR: No tool found matching GRADLE_4_8_1_HOME <Git Blamer> Using GitBlamer to create author and commit information for all warnings. <Git Blamer> GIT_COMMIT=c70bc3b00dba37452d24830ea980739debd9fa78, workspace=<https://builds.apache.org/job/kafka-2.1-jdk8/ws/> [FINDBUGS] Computing warning deltas based on reference build #258 Recording test results ERROR: No tool found matching GRADLE_4_8_1_HOME ERROR: No tool found matching GRADLE_4_8_1_HOME Not sending mail to unregistered user konstant...@confluent.io