See <https://builds.apache.org/job/Kafka-trunk/549/changes>
Changes: [cshapi] KAFKA-2345; Attempt to delete a topic already marked for deletion throws ZkNodeExistsException; patched by Ashish Singh; reviewed by Sriharsha Chintalapani and Ismael Juma [cshapi] Adding a file missed while committing KAFKA-2345 ------------------------------------------ Started by an SCM change Building remotely on ubuntu-1 (docker Ubuntu ubuntu ubuntu1) in workspace <https://builds.apache.org/job/Kafka-trunk/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url > https://git-wip-us.apache.org/repos/asf/kafka.git # timeout=10 Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/kafka.git > git --version # timeout=10 > git fetch --tags --progress > https://git-wip-us.apache.org/repos/asf/kafka.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10 Checking out Revision 84636272422b6379d57d4c5ef68b156edc1c67f8 (refs/remotes/origin/trunk) > git config core.sparsecheckout # timeout=10 > git checkout -f 84636272422b6379d57d4c5ef68b156edc1c67f8 > git rev-list 15cba9f00dc606dd49e428f4ac8ccae0c0b8b37d # timeout=10 Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1 [Kafka-trunk] $ /bin/bash -xe /tmp/hudson1285061421548932889.sh + /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.1/userguide/gradle_daemon.html. Building project 'core' with Scala version 2.10.5 :downloadWrapper UP-TO-DATE BUILD SUCCESSFUL Total time: 21.035 secs Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1 [Kafka-trunk] $ /bin/bash -xe /tmp/hudson6954480513441923318.sh + ./gradlew -PscalaVersion=2.10.1 test To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.4/userguide/gradle_daemon.html. Building project 'core' with Scala version 2.10.1 :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :rat Rat report: build/rat/rat-report.html :compileTestJava UP-TO-DATE :processTestResources UP-TO-DATE :testClasses UP-TO-DATE :test UP-TO-DATE :clients:compileJava UP-TO-DATE :clients:processResources UP-TO-DATE :clients:classes UP-TO-DATE :clients:checkstyleMain UP-TO-DATE :clients:compileTestJava UP-TO-DATE :clients:processTestResources UP-TO-DATE :clients:testClasses UP-TO-DATE :clients:checkstyleTest 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 :log4j-appender:compileJava UP-TO-DATE :log4j-appender:processResources UP-TO-DATE :log4j-appender:classes UP-TO-DATE :log4j-appender:jar UP-TO-DATE :core:compileJava UP-TO-DATE :core:compileScala <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/api/OffsetCommitRequest.scala>:78: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP ^ <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/common/OffsetMetadataAndError.scala>:36: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. commitTimestamp: Long = org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP, ^ <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/common/OffsetMetadataAndError.scala>:37: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. expireTimestamp: Long = org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP) { ^ <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:230: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. if (offsetAndMetadata.commitTimestamp == org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP) ^ <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/server/KafkaServer.scala>:235: 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>:236: 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/server/OffsetManager.scala>:379: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information. if (value.expireTimestamp == org.apache.kafka.common.requests.OffsetCommitRequest.DEFAULT_TIMESTAMP) ^ <https://builds.apache.org/job/Kafka-trunk/ws/core/src/main/scala/kafka/network/BlockingChannel.scala>:121: method readCompletely in class NetworkReceive is deprecated: see corresponding Javadoc for more information. response.readCompletely(readChannel) ^ there were 13 feature warning(s); re-run with -feature for details 9 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 kafka.KafkaTest > testGetKafkaConfigFromArgs PASSED kafka.KafkaTest > testGetKafkaConfigFromArgsWrongSetValue PASSED kafka.KafkaTest > testGetKafkaConfigFromArgsNonArgsAtTheEnd PASSED kafka.KafkaTest > testGetKafkaConfigFromArgsNonArgsOnly PASSED kafka.KafkaTest > testGetKafkaConfigFromArgsNonArgsAtTheBegging PASSED kafka.api.ProducerSendTest > testSendOffset PASSED kafka.api.ProducerSendTest > testSerializer PASSED kafka.api.ProducerSendTest > testClose PASSED kafka.api.ProducerSendTest > testSendToPartition PASSED kafka.api.ProducerSendTest > testAutoCreateTopic PASSED kafka.api.ProducerSendTest > testFlush PASSED kafka.api.ProducerSendTest > testCloseWithZeroTimeoutFromCallerThread PASSED kafka.api.ProducerSendTest > testCloseWithZeroTimeoutFromSenderThread PASSED kafka.api.ProducerBounceTest > testBrokerFailure PASSED kafka.api.RequestResponseSerializationTest > testSerializationAndDeserialization PASSED kafka.api.ApiUtilsTest > testShortStringNonASCII PASSED kafka.api.ApiUtilsTest > testShortStringASCII PASSED kafka.api.ProducerFailureHandlingTest > testTooLargeRecordWithAckOne PASSED kafka.api.ProducerFailureHandlingTest > testNoResponse PASSED kafka.api.ProducerFailureHandlingTest > testNotEnoughReplicasAfterBrokerShutdown PASSED kafka.api.ProducerFailureHandlingTest > testNonExistentTopic PASSED kafka.api.ProducerFailureHandlingTest > testInvalidPartition PASSED kafka.api.ProducerFailureHandlingTest > testTooLargeRecordWithAckZero PASSED kafka.api.ProducerFailureHandlingTest > testSendAfterClosed PASSED kafka.api.ProducerFailureHandlingTest > testCannotSendToInternalTopic PASSED kafka.api.ProducerFailureHandlingTest > testNotEnoughReplicas PASSED kafka.api.ProducerFailureHandlingTest > testWrongBrokerList PASSED kafka.api.ConsumerTest > testSimpleConsumption PASSED kafka.api.ConsumerTest > testCommitSpecifiedOffsets PASSED kafka.api.ConsumerTest > testPartitionsFor PASSED kafka.api.ConsumerTest > testPartitionReassignmentCallback PASSED kafka.api.ConsumerTest > testAutoOffsetReset PASSED kafka.api.ConsumerTest > testSeek PASSED kafka.api.ConsumerTest > testGroupConsumption PASSED kafka.api.ConsumerTest > testPositionAndCommit PASSED kafka.api.ConsumerBounceTest > testSeekAndCommitWithBrokerFailures PASSED kafka.api.ConsumerBounceTest > testConsumptionWithBrokerFailures FAILED java.lang.NullPointerException at org.apache.kafka.clients.consumer.KafkaConsumer.position(KafkaConsumer.java:949) at kafka.api.ConsumerBounceTest.consumeWithBrokerFailures(ConsumerBounceTest.scala:86) at kafka.api.ConsumerBounceTest.testConsumptionWithBrokerFailures(ConsumerBounceTest.scala:61) kafka.api.test.ProducerCompressionTest > testCompression[0] PASSED kafka.api.test.ProducerCompressionTest > testCompression[1] PASSED kafka.api.test.ProducerCompressionTest > testCompression[2] PASSED kafka.api.test.ProducerCompressionTest > testCompression[3] PASSED kafka.message.MessageWriterTest > testWithKey PASSED kafka.message.MessageWriterTest > testWithNoCompressionAttribute PASSED kafka.message.MessageWriterTest > testWithCompressionAttribute PASSED kafka.message.MessageWriterTest > testBufferingOutputStream 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.ByteBufferMessageSetTest > testWrittenEqualsRead PASSED kafka.message.ByteBufferMessageSetTest > testIteratorIsConsistent PASSED kafka.message.ByteBufferMessageSetTest > testSizeInBytes 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.message.ByteBufferMessageSetTest > testWriteTo PASSED 59 tests completed, 1 failed :core:test FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':core:test'. > Process 'Gradle Test Executor 2' finished with non-zero exit value 1 * 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: 5 mins 52.043 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