See <https://builds.apache.org/job/Kafka-trunk/247/changes>
Changes: [junrao] kafka-1567; Metric memory leaking after closing the clients; patched by Jiangjie Qin; reviewed by Guozhang Wang and Jun Rao ------------------------------------------ Started by an SCM change Started by an SCM change Building remotely on ubuntu-1 (Ubuntu ubuntu) in workspace <https://builds.apache.org/job/Kafka-trunk/ws/> > git rev-parse --is-inside-work-tree Fetching changes from the remote Git repository > git config remote.origin.url > https://git-wip-us.apache.org/repos/asf/kafka.git Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git > git --version > git fetch --tags --progress > https://git-wip-us.apache.org/repos/asf/kafka.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/trunk^{commit} Checking out Revision aa70a7d02552585a83c62784b92b67ed8ae3a304 (origin/trunk) > git config core.sparsecheckout > git checkout -f aa70a7d02552585a83c62784b92b67ed8ae3a304 > git rev-list 48cc2dc0ead0df1501abf16f583b3e365488e2d0 [Kafka-trunk] $ /bin/bash -xe /tmp/hudson1973107347179320204.sh + ./gradlew -PscalaVersion=2.10.1 test Building project 'core' with Scala version 2.10.1 Building project 'perf' with Scala version 2.10.1 :clients:compileJava UP-TO-DATE :clients:processResources UP-TO-DATE :clients:classes UP-TO-DATE :clients:compileTestJava UP-TO-DATE :clients:processTestResources UP-TO-DATE :clients:testClasses UP-TO-DATE :clients:test UP-TO-DATE :contrib:compileJava UP-TO-DATE :contrib:processResources UP-TO-DATE :contrib:classes UP-TO-DATE :contrib:compileTestJava UP-TO-DATE :contrib:processTestResources UP-TO-DATE :contrib:testClasses UP-TO-DATE :contrib:test UP-TO-DATE :clients:jar UP-TO-DATE :core:compileJava UP-TO-DATE :core:compileScala <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:259: non-variable type argument String in type pattern scala.collection.Map[String,_] is unchecked since it is eliminated by erasure case Some(map: Map[String, _]) => ^ <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/admin/AdminUtils.scala>:262: non-variable type argument String in type pattern scala.collection.Map[String,String] is unchecked since it is eliminated by erasure case Some(config: Map[String, String]) => ^ <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/server/KafkaServer.scala>:141: a pure expression does nothing in statement position; you may be omitting necessary parentheses ControllerStats.uncleanLeaderElectionRate ^ <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/server/KafkaServer.scala>:142: a pure expression does nothing in statement position; you may be omitting necessary parentheses ControllerStats.leaderElectionTimer ^ <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/utils/Utils.scala>:81: a pure expression does nothing in statement position; you may be omitting necessary parentheses daemonThread(name, runnable(fun)) ^ <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/network/SocketServer.scala>:346: Visited SCOPE_EXIT before visiting corresponding SCOPE_ENTER. SI-6049 try { ^ there were 12 feature warning(s); re-run with -feature for details 7 warnings found :core:processResources UP-TO-DATE :core:classes :core:compileTestJava UP-TO-DATE :core:compileTestScala :core:processTestResources UP-TO-DATE :core:testClasses :core:test unit.kafka.common.ConfigTest > testInvalidClientIds PASSED unit.kafka.common.ConfigTest > testInvalidGroupIds PASSED unit.kafka.common.TopicTest > testInvalidTopicNames PASSED unit.kafka.utils.CommandLineUtilsTest > testParseEmptyArg PASSED unit.kafka.utils.CommandLineUtilsTest > testParseSingleArg PASSED unit.kafka.utils.CommandLineUtilsTest > testParseArgs PASSED kafka.api.RequestResponseSerializationTest > testSerializationAndDeserialization PASSED kafka.api.ApiUtilsTest > testShortStringNonASCII PASSED kafka.api.ApiUtilsTest > testShortStringASCII PASSED kafka.api.ProducerFailureHandlingTest > testTooLargeRecordWithAckZero PASSED kafka.api.ProducerFailureHandlingTest > testTooLargeRecordWithAckOne PASSED kafka.api.ProducerFailureHandlingTest > testNonExistentTopic PASSED kafka.api.ProducerFailureHandlingTest > testWrongBrokerList PASSED kafka.api.ProducerFailureHandlingTest > testNoResponse PASSED kafka.api.ProducerFailureHandlingTest > testInvalidPartition PASSED kafka.api.ProducerFailureHandlingTest > testSendAfterClosed PASSED kafka.api.ProducerFailureHandlingTest > testBrokerFailure PASSED kafka.api.test.ProducerSendTest > testSendOffset PASSED kafka.api.test.ProducerSendTest > testClose PASSED kafka.api.test.ProducerSendTest > testSendToPartition PASSED kafka.api.test.ProducerSendTest > testAutoCreateTopic PASSED kafka.api.test.ProducerCompressionTest > testCompression[0] PASSED kafka.api.test.ProducerCompressionTest > testCompression[1] PASSED kafka.message.MessageTest > testFieldValues PASSED kafka.message.MessageTest > testChecksum PASSED kafka.message.MessageTest > testEquality PASSED kafka.message.MessageTest > testIsHashable PASSED kafka.message.MessageCompressionTest > testSimpleCompressDecompress PASSED kafka.message.MessageCompressionTest > testComplexCompressDecompress PASSED kafka.message.ByteBufferMessageSetTest > testWrittenEqualsRead PASSED kafka.message.ByteBufferMessageSetTest > testIteratorIsConsistent PASSED kafka.message.ByteBufferMessageSetTest > testSizeInBytes PASSED kafka.message.ByteBufferMessageSetTest > testWriteTo PASSED kafka.message.ByteBufferMessageSetTest > testValidBytes PASSED kafka.message.ByteBufferMessageSetTest > testValidBytesWithCompression PASSED kafka.message.ByteBufferMessageSetTest > testEquals PASSED kafka.message.ByteBufferMessageSetTest > testIterator PASSED kafka.message.ByteBufferMessageSetTest > testOffsetAssignment PASSED kafka.producer.ProducerTest > testUpdateBrokerPartitionInfo PASSED kafka.producer.ProducerTest > testSendToNewTopic PASSED kafka.producer.ProducerTest > testSendWithDeadBroker PASSED kafka.producer.ProducerTest > testAsyncSendCanCorrectlyFailWithTimeout PASSED kafka.producer.ProducerTest > testSendNullMessage PASSED kafka.producer.AsyncProducerTest > testInvalidPartition PASSED kafka.producer.AsyncProducerTest > testProducerQueueSize PASSED kafka.producer.AsyncProducerTest > testProduceAfterClosed PASSED kafka.producer.AsyncProducerTest > testBatchSize PASSED kafka.producer.AsyncProducerTest > testQueueTimeExpired PASSED kafka.producer.AsyncProducerTest > testPartitionAndCollateEvents PASSED kafka.producer.AsyncProducerTest > testSerializeEvents PASSED kafka.producer.AsyncProducerTest > testNoBroker PASSED kafka.producer.AsyncProducerTest > testIncompatibleEncoder PASSED kafka.producer.AsyncProducerTest > testRandomPartitioner PASSED kafka.producer.AsyncProducerTest > testFailedSendRetryLogic PASSED kafka.producer.AsyncProducerTest > testJavaProducer PASSED kafka.producer.AsyncProducerTest > testInvalidConfiguration PASSED kafka.producer.SyncProducerTest > testReachableServer PASSED kafka.producer.SyncProducerTest > testEmptyProduceRequest PASSED kafka.producer.SyncProducerTest > testMessageSizeTooLarge PASSED kafka.producer.SyncProducerTest > testMessageSizeTooLargeWithAckZero PASSED kafka.producer.SyncProducerTest > testProduceCorrectlyReceivesResponse PASSED kafka.producer.SyncProducerTest > testProducerCanTimeout PASSED kafka.producer.SyncProducerTest > testProduceRequestWithNoResponse PASSED kafka.integration.FetcherTest > testFetcher PASSED kafka.integration.UncleanLeaderElectionTest > testUncleanLeaderElectionEnabled PASSED kafka.integration.UncleanLeaderElectionTest > testUncleanLeaderElectionDisabled PASSED kafka.integration.UncleanLeaderElectionTest > testUncleanLeaderElectionEnabledByTopicOverride PASSED kafka.integration.UncleanLeaderElectionTest > testCleanLeaderElectionDisabledByTopicOverride PASSED kafka.integration.UncleanLeaderElectionTest > testUncleanLeaderElectionInvalidTopicOverride PASSED Build timed out (after 60 minutes). Marking the build as failed. Build was aborted