See <https://builds.apache.org/job/Kafka-trunk/268/changes>
Changes: [junrao] kafka-1620; Make kafka api protocol implementation public; patched by Anton Karamanov; reviewed by Jun Rao ------------------------------------------ [...truncated 394 lines...] kafka.admin.AdminTest > testPartitionReassignmentNonOverlappingReplicas PASSED kafka.admin.AdminTest > testReassigningNonExistingPartition PASSED kafka.admin.AdminTest > testResumePartitionReassignmentThatWasCompleted PASSED kafka.admin.AdminTest > testPreferredReplicaJsonData PASSED kafka.admin.AdminTest > testBasicPreferredReplicaElection PASSED kafka.admin.AdminTest > testShutdownBroker PASSED kafka.admin.AdminTest > testTopicConfigChange PASSED kafka.admin.AddPartitionsTest > testTopicDoesNotExist PASSED kafka.admin.AddPartitionsTest > testWrongReplicaCount PASSED kafka.admin.AddPartitionsTest > testIncrementPartitions PASSED kafka.admin.AddPartitionsTest > testManualAssignmentOfReplicas PASSED kafka.admin.AddPartitionsTest > testReplicaPlacement PASSED kafka.admin.DeleteTopicTest > testDeleteTopicWithAllAliveReplicas PASSED kafka.admin.DeleteTopicTest > testResumeDeleteTopicWithRecoveredFollower PASSED kafka.admin.DeleteTopicTest > testResumeDeleteTopicOnControllerFailover PASSED kafka.admin.DeleteTopicTest > testPartitionReassignmentDuringDeleteTopic PASSED kafka.admin.DeleteTopicTest > testDeleteTopicDuringAddPartition FAILED junit.framework.AssertionFailedError: Admin path /admin/delete_topic/test path not deleted even after a replica is restarted at junit.framework.Assert.fail(Assert.java:47) at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:590) at kafka.admin.DeleteTopicTest.verifyTopicDeletion(DeleteTopicTest.scala:246) at kafka.admin.DeleteTopicTest.testDeleteTopicDuringAddPartition(DeleteTopicTest.scala:160) kafka.admin.DeleteTopicTest > testAddPartitionDuringDeleteTopic PASSED kafka.admin.DeleteTopicTest > testRecreateTopicAfterDeletion PASSED kafka.admin.DeleteTopicTest > testDeleteNonExistingTopic PASSED kafka.api.ProducerFailureHandlingTest > testInvalidPartition 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 > testSendAfterClosed PASSED kafka.api.ProducerFailureHandlingTest > testBrokerFailure PASSED kafka.api.ProducerFailureHandlingTest > testCannotSendToInternalTopic PASSED kafka.api.RequestResponseSerializationTest > testSerializationAndDeserialization PASSED kafka.api.ApiUtilsTest > testShortStringNonASCII PASSED kafka.api.ApiUtilsTest > testShortStringASCII 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.javaapi.consumer.ZookeeperConsumerConnectorTest > testBasic PASSED kafka.javaapi.message.ByteBufferMessageSetTest > testWrittenEqualsRead PASSED kafka.javaapi.message.ByteBufferMessageSetTest > testIteratorIsConsistent PASSED kafka.javaapi.message.ByteBufferMessageSetTest > testSizeInBytes PASSED kafka.javaapi.message.ByteBufferMessageSetTest > testIteratorIsConsistentWithCompression PASSED kafka.javaapi.message.ByteBufferMessageSetTest > testSizeInBytesWithCompression PASSED kafka.javaapi.message.ByteBufferMessageSetTest > testEquals PASSED kafka.javaapi.message.ByteBufferMessageSetTest > testEqualsWithCompression PASSED kafka.integration.UncleanLeaderElectionTest > testUncleanLeaderElectionEnabled FAILED java.lang.RuntimeException: A broker is already registered on the path /brokers/ids/1. This probably indicates that you either have configured a brokerid that is already in use, or else you have shutdown this broker and restarted it faster than the zookeeper timeout so it appears to be re-registering. at kafka.utils.ZkUtils$.registerBrokerInZk(ZkUtils.scala:174) at kafka.server.KafkaHealthcheck.register(KafkaHealthcheck.scala:63) at kafka.server.KafkaHealthcheck.startup(KafkaHealthcheck.scala:45) at kafka.server.KafkaServer.startup(KafkaServer.scala:121) at kafka.integration.UncleanLeaderElectionTest$$anonfun$verifyUncleanLeaderElectionEnabled$8.apply(UncleanLeaderElectionTest.scala:187) at kafka.integration.UncleanLeaderElectionTest$$anonfun$verifyUncleanLeaderElectionEnabled$8.apply(UncleanLeaderElectionTest.scala:187) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) at scala.collection.immutable.List.foreach(List.scala:318) at scala.collection.TraversableLike$class.map(TraversableLike.scala:244) at scala.collection.AbstractTraversable.map(Traversable.scala:105) at kafka.integration.UncleanLeaderElectionTest.verifyUncleanLeaderElectionEnabled(UncleanLeaderElectionTest.scala:187) at kafka.integration.UncleanLeaderElectionTest.testUncleanLeaderElectionEnabled(UncleanLeaderElectionTest.scala:106) kafka.integration.UncleanLeaderElectionTest > testUncleanLeaderElectionDisabled PASSED kafka.integration.UncleanLeaderElectionTest > testUncleanLeaderElectionEnabledByTopicOverride PASSED kafka.integration.UncleanLeaderElectionTest > testCleanLeaderElectionDisabledByTopicOverride PASSED kafka.integration.UncleanLeaderElectionTest > testUncleanLeaderElectionInvalidTopicOverride PASSED kafka.integration.FetcherTest > testFetcher PASSED kafka.integration.RollingBounceTest > testRollingBounce PASSED kafka.integration.PrimitiveApiTest > testFetchRequestCanProperlySerialize PASSED kafka.integration.PrimitiveApiTest > testEmptyFetchRequest PASSED kafka.integration.PrimitiveApiTest > testDefaultEncoderProducerAndFetch PASSED kafka.integration.PrimitiveApiTest > testDefaultEncoderProducerAndFetchWithCompression PASSED kafka.integration.PrimitiveApiTest > testProduceAndMultiFetch PASSED kafka.integration.PrimitiveApiTest > testMultiProduce PASSED kafka.integration.PrimitiveApiTest > testConsumerEmptyTopic PASSED kafka.integration.PrimitiveApiTest > testPipelinedProduceRequests PASSED kafka.integration.AutoOffsetResetTest > testResetToEarliestWhenOffsetTooHigh PASSED kafka.integration.AutoOffsetResetTest > testResetToEarliestWhenOffsetTooLow PASSED kafka.integration.AutoOffsetResetTest > testResetToLatestWhenOffsetTooHigh PASSED kafka.integration.AutoOffsetResetTest > testResetToLatestWhenOffsetTooLow PASSED kafka.integration.TopicMetadataTest > testAutoCreateTopic PASSED kafka.integration.TopicMetadataTest > testTopicMetadataRequest PASSED kafka.integration.TopicMetadataTest > testBasicTopicMetadata PASSED kafka.integration.TopicMetadataTest > testGetAllTopicMetadata PASSED kafka.metrics.KafkaTimerTest > testKafkaTimer PASSED kafka.utils.UtilsTest > testSwallow PASSED kafka.utils.UtilsTest > testCircularIterator PASSED kafka.utils.UtilsTest > testReadBytes PASSED kafka.utils.UtilsTest > testAbs PASSED kafka.utils.UtilsTest > testReplaceSuffix PASSED kafka.utils.UtilsTest > testReadInt PASSED kafka.utils.UtilsTest > testCsvList PASSED kafka.utils.UtilsTest > testInLock PASSED kafka.utils.SchedulerTest > testMockSchedulerNonPeriodicTask PASSED kafka.utils.SchedulerTest > testMockSchedulerPeriodicTask PASSED kafka.utils.SchedulerTest > testReentrantTaskInMockScheduler PASSED kafka.utils.SchedulerTest > testNonPeriodicTask PASSED kafka.utils.SchedulerTest > testPeriodicTask PASSED kafka.utils.IteratorTemplateTest > testIterator PASSED kafka.utils.ReplicationUtilsTest > testUpdateLeaderAndIsr PASSED kafka.utils.JsonTest > testJsonEncoding PASSED kafka.message.MessageCompressionTest > testSimpleCompressDecompress PASSED kafka.message.MessageCompressionTest > testComplexCompressDecompress PASSED kafka.message.MessageTest > testFieldValues PASSED kafka.message.MessageTest > testChecksum PASSED kafka.message.MessageTest > testEquality PASSED kafka.message.MessageTest > testIsHashable PASSED kafka.message.ByteBufferMessageSetTest > testWrittenEqualsRead PASSED kafka.message.ByteBufferMessageSetTest > testIteratorIsConsistent PASSED kafka.message.ByteBufferMessageSetTest > testSizeInBytes PASSED kafka.message.ByteBufferMessageSetTest > testWriteTo PASSED kafka.message.ByteBufferMessageSetTest > testEquals PASSED kafka.message.ByteBufferMessageSetTest > testIterator PASSED kafka.message.ByteBufferMessageSetTest > testValidBytes PASSED kafka.message.ByteBufferMessageSetTest > testValidBytesWithCompression PASSED kafka.message.ByteBufferMessageSetTest > testOffsetAssignment PASSED kafka.network.SocketServerTest > simpleRequest PASSED kafka.network.SocketServerTest > tooBigRequestIsRejected PASSED kafka.network.SocketServerTest > testNullResponse PASSED kafka.network.SocketServerTest > testSocketsCloseOnShutdown PASSED kafka.network.SocketServerTest > testMaxConnectionsPerIp PASSED kafka.zk.ZKEphemeralTest > testEphemeralNodeCleanup PASSED 272 tests completed, 2 failed :core:test FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':core:test'. > There were failing tests. See the report at: > file:///x1/jenkins/jenkins-slave/workspace/Kafka-trunk/core/build/reports/tests/index.html * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 10 mins 41.196 secs Build step 'Execute shell' marked build as failure