See <https://builds.apache.org/job/kafka-2.1-jdk8/156/display/redirect?page=changes>
Changes: [rhauch] KAFKA-8126: Flaky Test ------------------------------------------ [...truncated 1.90 MB...] ^ <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")) ^ 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 :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>:173: 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>:204: 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 :streams:checkstyleTest > Task :log4j-appender:jar > Task :tools:compileJava <https://builds.apache.org/job/kafka-2.1-jdk8/ws/tools/src/main/java/org/apache/kafka/tools/ClientCompatibilityTest.java>:416: warning: [deprecation] poll(long) in KafkaConsumer has been deprecated ConsumerRecords<byte[], byte[]> records = consumer.poll(100); ^ where K,V are type-variables: K extends Object declared in class KafkaConsumer V extends Object declared in class KafkaConsumer 1 warning > Task :tools:processResources NO-SOURCE > Task :tools:classes > Task :tools:checkstyleMain > Task :tools:compileTestJava Note: <https://builds.apache.org/job/kafka-2.1-jdk8/ws/tools/src/test/java/org/apache/kafka/trogdor/common/JsonSerializationTest.java> uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :tools:processTestResources > Task :tools:testClasses > Task :tools:checkstyleTest > Task :connect:api:checkstyleMain > Task :connect:api:compileTestJava Note: <https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/api/src/test/java/org/apache/kafka/connect/data/SchemaProjectorTest.java> uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :connect:api:processTestResources NO-SOURCE > Task :connect:api:testClasses > Task :connect:api:checkstyleTest > Task :connect:basic-auth-extension:compileJava > Task :connect:basic-auth-extension:processResources > Task :connect:basic-auth-extension:classes > Task :connect:basic-auth-extension:checkstyleMain > Task :connect:basic-auth-extension:compileTestJava > Task :connect:basic-auth-extension:processTestResources NO-SOURCE > Task :connect:basic-auth-extension:testClasses > 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]. log4j: Finalizing appender named [KAFKA]. > Task :connect:basic-auth-extension:checkstyleTest > Task :examples:test NO-SOURCE > Task :connect:file:compileJava > Task :connect:file:processResources NO-SOURCE > Task :connect:file:classes > Task :connect:file:checkstyleMain > Task :connect:file:compileTestJava > Task :connect:file:processTestResources NO-SOURCE > Task :connect:file:testClasses > Task :connect:file:checkstyleTest > Task :testScala_2_11 FAILED > Task :tools:spotbugsMain > Task :streams:spotbugsMain > Task :connect:basic-auth-extension:spotbugsMain > Task :connect:api:spotbugsMain > Task :connect:file:spotbugsMain 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 2m 10s 90 actionable tasks: 50 executed, 40 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=f52d913ddc88102808d81a07c6e81765d2e0c04c, workspace=<https://builds.apache.org/job/kafka-2.1-jdk8/ws/> [FINDBUGS] Computing warning deltas based on reference build #155 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