See <https://builds.apache.org/job/Kafka-trunk/432/changes>
Changes: [joe.stein] KAFKA-1856 Add PreCommit Patch Testing patch by Ashish K Singh reviewed by Gwen Shapira ------------------------------------------ [...truncated 1576 lines...] at kafka.api.ConsumerTest.setUp(ConsumerTest.scala:59) kafka.api.ConsumerTest > testSeekAndCommitWithBrokerFailures FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at kafka.api.ConsumerTest.kafka$integration$KafkaServerTestHarness$$super$setUp(ConsumerTest.scala:39) at kafka.integration.KafkaServerTestHarness$class.setUp(KafkaServerTestHarness.scala:44) at kafka.api.ConsumerTest.kafka$api$IntegrationTestHarness$$super$setUp(ConsumerTest.scala:39) at kafka.api.IntegrationTestHarness$class.setUp(IntegrationTestHarness.scala:51) at kafka.api.ConsumerTest.setUp(ConsumerTest.scala:59) kafka.api.ConsumerTest > testPartitionReassignmentCallback FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at kafka.api.ConsumerTest.kafka$integration$KafkaServerTestHarness$$super$setUp(ConsumerTest.scala:39) at kafka.integration.KafkaServerTestHarness$class.setUp(KafkaServerTestHarness.scala:44) at kafka.api.ConsumerTest.kafka$api$IntegrationTestHarness$$super$setUp(ConsumerTest.scala:39) at kafka.api.IntegrationTestHarness$class.setUp(IntegrationTestHarness.scala:51) at kafka.api.ConsumerTest.setUp(ConsumerTest.scala:59) kafka.api.RequestResponseSerializationTest > testSerializationAndDeserialization PASSED kafka.api.test.ProducerCompressionTest > testCompression[0] FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at kafka.api.test.ProducerCompressionTest.setUp(ProducerCompressionTest.scala:54) java.lang.NullPointerException at kafka.api.test.ProducerCompressionTest.tearDown(ProducerCompressionTest.scala:60) kafka.api.test.ProducerCompressionTest > testCompression[1] FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at kafka.api.test.ProducerCompressionTest.setUp(ProducerCompressionTest.scala:54) java.lang.NullPointerException at kafka.api.test.ProducerCompressionTest.tearDown(ProducerCompressionTest.scala:60) kafka.api.test.ProducerCompressionTest > testCompression[2] FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at kafka.api.test.ProducerCompressionTest.setUp(ProducerCompressionTest.scala:54) java.lang.NullPointerException at kafka.api.test.ProducerCompressionTest.tearDown(ProducerCompressionTest.scala:60) kafka.api.test.ProducerCompressionTest > testCompression[3] FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at kafka.api.test.ProducerCompressionTest.setUp(ProducerCompressionTest.scala:54) java.lang.NullPointerException at kafka.api.test.ProducerCompressionTest.tearDown(ProducerCompressionTest.scala:60) kafka.tools.ConsoleProducerTest > testValidConfigsNewProducer PASSED kafka.tools.ConsoleProducerTest > testValidConfigsOldProducer PASSED kafka.tools.ConsoleProducerTest > testInvalidConfigs PASSED kafka.tools.ConsoleProducerTest > testParseKeyProp PASSED unit.kafka.KafkaTest > testGetKafkaConfigFromArgs PASSED unit.kafka.KafkaTest > testGetKafkaConfigFromArgsWrongSetValue PASSED unit.kafka.KafkaTest > testGetKafkaConfigFromArgsNonArgsAtTheEnd PASSED unit.kafka.KafkaTest > testGetKafkaConfigFromArgsNonArgsOnly PASSED unit.kafka.KafkaTest > testGetKafkaConfigFromArgsNonArgsAtTheBegging PASSED unit.kafka.utils.CommandLineUtilsTest > testParseEmptyArg PASSED unit.kafka.utils.CommandLineUtilsTest > testParseSingleArg PASSED unit.kafka.utils.CommandLineUtilsTest > testParseArgs PASSED unit.kafka.utils.ByteBoundedBlockingQueueTest > testByteBoundedBlockingQueue PASSED unit.kafka.zk.ZKPathTest > testCreatePersistentPathThrowsException FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at unit.kafka.zk.ZKPathTest.setUp(ZKPathTest.scala:28) unit.kafka.zk.ZKPathTest > testCreatePersistentPath FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at unit.kafka.zk.ZKPathTest.setUp(ZKPathTest.scala:28) unit.kafka.zk.ZKPathTest > testMakeSurePersistsPathExistsThrowsException FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at unit.kafka.zk.ZKPathTest.setUp(ZKPathTest.scala:28) unit.kafka.zk.ZKPathTest > testMakeSurePersistsPathExists FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at unit.kafka.zk.ZKPathTest.setUp(ZKPathTest.scala:28) unit.kafka.zk.ZKPathTest > testCreateEphemeralPathThrowsException FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at unit.kafka.zk.ZKPathTest.setUp(ZKPathTest.scala:28) unit.kafka.zk.ZKPathTest > testCreateEphemeralPathExists FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at unit.kafka.zk.ZKPathTest.setUp(ZKPathTest.scala:28) unit.kafka.zk.ZKPathTest > testCreatePersistentSequentialThrowsException FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at unit.kafka.zk.ZKPathTest.setUp(ZKPathTest.scala:28) unit.kafka.zk.ZKPathTest > testCreatePersistentSequentialExists FAILED java.net.BindException: Address already in use at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:95) at kafka.zk.EmbeddedZookeeper.<init>(EmbeddedZookeeper.scala:33) at kafka.zk.ZooKeeperTestHarness$class.setUp(ZooKeeperTestHarness.scala:33) at unit.kafka.zk.ZKPathTest.setUp(ZKPathTest.scala:28) unit.kafka.common.TopicTest > testInvalidTopicNames PASSED unit.kafka.common.ConfigTest > testInvalidClientIds PASSED unit.kafka.common.ConfigTest > testInvalidGroupIds PASSED unit.kafka.consumer.PartitionAssignorTest > testRoundRobinPartitionAssignor PASSED unit.kafka.consumer.PartitionAssignorTest > testRangePartitionAssignor FAILED java.lang.NullPointerException at unit.kafka.consumer.PartitionAssignorTest$$anonfun$unit$kafka$consumer$PartitionAssignorTest$$assignAndVerify$1.apply(PartitionAssignorTest.scala:173) at unit.kafka.consumer.PartitionAssignorTest$$anonfun$unit$kafka$consumer$PartitionAssignorTest$$assignAndVerify$1.apply(PartitionAssignorTest.scala:172) at scala.collection.immutable.List.foreach(List.scala:318) at unit.kafka.consumer.PartitionAssignorTest$.unit$kafka$consumer$PartitionAssignorTest$$assignAndVerify(PartitionAssignorTest.scala:172) at unit.kafka.consumer.PartitionAssignorTest$$anonfun$testRangePartitionAssignor$1.apply$mcVI$sp(PartitionAssignorTest.scala:79) at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141) at unit.kafka.consumer.PartitionAssignorTest.testRangePartitionAssignor(PartitionAssignorTest.scala:60) unit.kafka.server.KafkaConfigConfigDefTest > testFromPropsDefaults PASSED unit.kafka.server.KafkaConfigConfigDefTest > testFromPropsEmpty PASSED unit.kafka.server.KafkaConfigConfigDefTest > testFromPropsToProps PASSED unit.kafka.server.KafkaConfigConfigDefTest > testFromPropsInvalid PASSED unit.kafka.server.KafkaConfigConfigDefTest > testSpecificProperties PASSED 372 tests completed, 34 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://<https://builds.apache.org/job/Kafka-trunk/ws/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: 7 mins 48.661 secs Build step 'Execute shell' marked build as failure Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1