See <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/4/display/redirect?page=changes>
Changes: [Jason Frantz] KAFKA-10401; Ensure `currentStateTimeStamp` is set correctly by group coordinator (#9202) ------------------------------------------ [...truncated 1.70 MB...] kafka.zookeeper.ZooKeeperClientTest > testConnectionTimeout STARTED kafka.zookeeper.ZooKeeperClientTest > testConnectionTimeout PASSED kafka.zookeeper.ZooKeeperClientTest > testBlockOnRequestCompletionFromStateChangeHandler STARTED kafka.zookeeper.ZooKeeperClientTest > testBlockOnRequestCompletionFromStateChangeHandler PASSED kafka.zookeeper.ZooKeeperClientTest > testUnresolvableConnectString STARTED kafka.zookeeper.ZooKeeperClientTest > testUnresolvableConnectString PASSED kafka.zookeeper.ZooKeeperClientTest > testGetChildrenNonExistentZNode STARTED kafka.zookeeper.ZooKeeperClientTest > testGetChildrenNonExistentZNode PASSED kafka.zookeeper.ZooKeeperClientTest > testPipelinedGetData STARTED kafka.zookeeper.ZooKeeperClientTest > testPipelinedGetData PASSED kafka.zookeeper.ZooKeeperClientTest > testZNodeChildChangeHandlerForChildChange STARTED kafka.zookeeper.ZooKeeperClientTest > testZNodeChildChangeHandlerForChildChange PASSED kafka.zookeeper.ZooKeeperClientTest > testGetChildrenExistingZNodeWithChildren STARTED kafka.zookeeper.ZooKeeperClientTest > testGetChildrenExistingZNodeWithChildren PASSED kafka.zookeeper.ZooKeeperClientTest > testSetDataExistingZNode STARTED kafka.zookeeper.ZooKeeperClientTest > testSetDataExistingZNode PASSED kafka.zookeeper.ZooKeeperClientTest > testMixedPipeline STARTED kafka.zookeeper.ZooKeeperClientTest > testMixedPipeline PASSED kafka.zookeeper.ZooKeeperClientTest > testGetDataExistingZNode STARTED kafka.zookeeper.ZooKeeperClientTest > testGetDataExistingZNode PASSED kafka.zookeeper.ZooKeeperClientTest > testDeleteExistingZNode STARTED kafka.zookeeper.ZooKeeperClientTest > testDeleteExistingZNode PASSED kafka.zookeeper.ZooKeeperClientTest > testSessionExpiry STARTED kafka.zookeeper.ZooKeeperClientTest > testSessionExpiry PASSED kafka.zookeeper.ZooKeeperClientTest > testSetDataNonExistentZNode STARTED kafka.zookeeper.ZooKeeperClientTest > testSetDataNonExistentZNode PASSED kafka.zookeeper.ZooKeeperClientTest > testDeleteNonExistentZNode STARTED kafka.zookeeper.ZooKeeperClientTest > testDeleteNonExistentZNode PASSED kafka.zookeeper.ZooKeeperClientTest > testExistsExistingZNode STARTED kafka.zookeeper.ZooKeeperClientTest > testExistsExistingZNode PASSED kafka.zookeeper.ZooKeeperClientTest > testZooKeeperStateChangeRateMetrics STARTED kafka.zookeeper.ZooKeeperClientTest > testZooKeeperStateChangeRateMetrics PASSED kafka.zookeeper.ZooKeeperClientTest > testZNodeChangeHandlerForDeletion STARTED kafka.zookeeper.ZooKeeperClientTest > testZNodeChangeHandlerForDeletion PASSED kafka.zookeeper.ZooKeeperClientTest > testGetAclNonExistentZNode STARTED kafka.zookeeper.ZooKeeperClientTest > testGetAclNonExistentZNode PASSED kafka.zookeeper.ZooKeeperClientTest > testStateChangeHandlerForAuthFailure STARTED kafka.zookeeper.ZooKeeperClientTest > testStateChangeHandlerForAuthFailure PASSED kafka.metrics.KafkaTimerTest > testKafkaTimer STARTED kafka.metrics.KafkaTimerTest > testKafkaTimer PASSED kafka.metrics.MetricsTest > testMetricsReporterAfterDeletingTopic STARTED kafka.metrics.MetricsTest > testMetricsReporterAfterDeletingTopic PASSED kafka.metrics.MetricsTest > testSessionExpireListenerMetrics STARTED kafka.metrics.MetricsTest > testSessionExpireListenerMetrics PASSED kafka.metrics.MetricsTest > testBrokerTopicMetricsUnregisteredAfterDeletingTopic STARTED kafka.metrics.MetricsTest > testBrokerTopicMetricsUnregisteredAfterDeletingTopic PASSED kafka.metrics.MetricsTest > testClusterIdMetric STARTED kafka.metrics.MetricsTest > testClusterIdMetric PASSED kafka.metrics.MetricsTest > testControllerMetrics STARTED kafka.metrics.MetricsTest > testControllerMetrics PASSED kafka.metrics.MetricsTest > testWindowsStyleTagNames STARTED kafka.metrics.MetricsTest > testWindowsStyleTagNames PASSED kafka.metrics.MetricsTest > testBrokerTopicMetricsBytesInOut STARTED kafka.metrics.MetricsTest > testBrokerTopicMetricsBytesInOut PASSED > Task :kafka-2.3-jdk8:generator:compileJava UP-TO-DATE > Task :kafka-2.3-jdk8:generator:processResources NO-SOURCE > Task :kafka-2.3-jdk8:generator:classes UP-TO-DATE > Task :kafka-2.3-jdk8:clients:processMessages UP-TO-DATE > Task :kafka-2.3-jdk8:clients:compileJava UP-TO-DATE > Task :kafka-2.3-jdk8:clients:processResources UP-TO-DATE > Task :kafka-2.3-jdk8:clients:classes UP-TO-DATE > Task :kafka-2.3-jdk8:clients:determineCommitId UP-TO-DATE > Task :kafka-2.3-jdk8:clients:createVersionFile > Task :kafka-2.3-jdk8:clients:jar UP-TO-DATE > Task :kafka-2.3-jdk8:clients:compileTestJava UP-TO-DATE > Task :kafka-2.3-jdk8:clients:processTestResources UP-TO-DATE > Task :kafka-2.3-jdk8:clients:testClasses UP-TO-DATE > Task :kafka-2.3-jdk8:core:compileJava NO-SOURCE > Task :kafka-2.3-jdk8:core:compileScala Pruning sources from previous analysis, due to incompatible CompileSetup. <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala>:1154: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. offsetAndMetadata.expireTimestamp.getOrElse(OffsetCommitRequest.DEFAULT_TIMESTAMP)) ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala>:1303: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. if (expireTimestamp == OffsetCommitRequest.DEFAULT_TIMESTAMP) ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:402: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. case OffsetCommitRequest.DEFAULT_TIMESTAMP => currentTimestamp ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/controller/KafkaController.scala>:1561: match may not be exhaustive. It would fail on the following input: ShutdownEventThread event match { ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/coordinator/group/GroupCoordinator.scala>:369: match may not be exhaustive. It would fail on the following input: Dead group.currentState match { ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/coordinator/group/GroupCoordinator.scala>:522: match may not be exhaustive. It would fail on the following input: Dead group.currentState match { ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-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://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/admin/BrokerApiVersionsCommand.scala>:52: 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://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/admin/BrokerApiVersionsCommand.scala>:58: 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://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/admin/ConfigCommand.scala>:319: method alterConfigs in class AdminClient is deprecated: see corresponding Javadoc for more information. adminClient.alterConfigs(Map(configResource -> newConfig).asJava, alterOptions).all().get(60, TimeUnit.SECONDS) ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:822: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. new ListOffsetResponse.PartitionData(Errors.TOPIC_AUTHORIZATION_FAILED, List[JLong]().asJava) ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:830: value maxNumOffsets in class PartitionData is deprecated: see corresponding Javadoc for more information. maxNumOffsets = partitionData.maxNumOffsets, ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:833: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. (topicPartition, new ListOffsetResponse.PartitionData(Errors.NONE, offsets.map(JLong.valueOf).asJava)) ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:842: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. (topicPartition, new ListOffsetResponse.PartitionData(Errors.forException(e), List[JLong]().asJava)) ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:845: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information. (topicPartition, new ListOffsetResponse.PartitionData(Errors.forException(e), List[JLong]().asJava)) ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/server/KafkaConfig.scala>:231: value DEFAULT_SASL_ENABLED_MECHANISMS in object SaslConfigs is deprecated: see corresponding Javadoc for more information. val SaslEnabledMechanisms = SaslConfigs.DEFAULT_SASL_ENABLED_MECHANISMS ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/server/ReplicaFetcherThread.scala>:235: value offsets in class PartitionData is deprecated: see corresponding Javadoc for more information. responsePartitionData.offsets.get(0) ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/tools/ConsoleConsumer.scala>:573: method checksum in class ConsumerRecord is deprecated: see corresponding Javadoc for more information. output.println(topicStr + "checksum:" + consumerRecord.checksum) ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/tools/MirrorMaker.scala>:197: 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://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/tools/MirrorMaker.scala>:417: 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://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/tools/MirrorMaker.scala>:421: 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]]] = { ^ 21 warnings found Note: <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/main/scala/kafka/tools/StreamsResetter.java> uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :kafka-2.3-jdk8:core:processResources NO-SOURCE > Task :kafka-2.3-jdk8:core:classes > Task :kafka-2.3-jdk8:core:checkstyleMain > Task :kafka-2.3-jdk8:core:compileTestJava NO-SOURCE > Task :kafka-2.3-jdk8:core:compileTestScala Pruning sources from previous analysis, due to incompatible CompileSetup. <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/test/scala/integration/kafka/api/AuthorizerIntegrationTest.scala>:370: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. .setCommitTimestamp(OffsetCommitRequest.DEFAULT_TIMESTAMP) ^ <https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/core/src/test/scala/unit/kafka/coordinator/group/GroupMetadataManagerTest.scala>:818: overloaded method value assertThrows with alternatives: [T <: Throwable](x$1: String, x$2: Class[T], x$3: org.junit.function.ThrowingRunnable)T <and> [T <: Throwable](x$1: Class[T], x$2: org.junit.function.ThrowingRunnable)T cannot be applied to (Class[org.apache.kafka.common.KafkaException], () => kafka.coordinator.group.GroupMetadata) val e = assertThrows(classOf[KafkaException], ^ one warning found one error found > Task :kafka-2.3-jdk8:core:compileTestScala FAILED > Task :testScala_2_11 FAILED FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':clients:test'. > There were failing tests. See the report at: > file://<https://ci-builds.apache.org/job/Kafka/job/kafka-2.3-jdk8/ws/clients/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. ============================================================================== 2: Task failed with an exception. ----------- * What went wrong: Execution failed for task ':kafka-2.3-jdk8:core:compileTestScala'. > Compilation failed * 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 Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 2h 16m 15s 72 actionable tasks: 46 executed, 26 up-to-date Build step 'Execute shell' marked build as failure Recording test results