See <https://builds.apache.org/job/kafka-trunk-jdk8/111/changes>
Changes: [cshapi] KAFKA-2765: Add versions to Copycat Connector and Task interfaces and [cshapi] KAFKA-2766: use new producer by default in tooling [junrao] KAFKA-2767; Upgrade ZkClient version to 0.7 ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on ubuntu-5 (docker Ubuntu ubuntu5 ubuntu) in workspace <https://builds.apache.org/job/kafka-trunk-jdk8/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 -c core.askpass=true 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 30bf985348dcc5b9dc2fba4ad38009342fa18442 (refs/remotes/origin/trunk) > git config core.sparsecheckout # timeout=10 > git checkout -f 30bf985348dcc5b9dc2fba4ad38009342fa18442 > git rev-list 130a561ad511db5a592e5a4217d6fa5dee704d33 # timeout=10 Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1 Setting JDK1_8_0_45_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk1.8.0_45 [kafka-trunk-jdk8] $ /bin/bash -xe /tmp/hudson4381570517649566061.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: 16.163 secs Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1 Setting JDK1_8_0_45_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk1.8.0_45 [kafka-trunk-jdk8] $ /bin/bash -xe /tmp/hudson1379778887192719198.sh + ./gradlew -Dorg.gradle.project.maxParallelForks=1 clean jarAll docsJarAll testAll To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.8/userguide/gradle_daemon.html. Building project 'core' with Scala version 2.10.5 :clean UP-TO-DATE :clients:clean :contrib:clean UP-TO-DATE :copycat:clean UP-TO-DATE :core:clean :examples:clean UP-TO-DATE :log4j-appender:clean UP-TO-DATE :streams:clean UP-TO-DATE :tools:clean UP-TO-DATE :contrib:hadoop-consumer:clean UP-TO-DATE :contrib:hadoop-producer:clean UP-TO-DATE :copycat:api:clean UP-TO-DATE :copycat:file:clean UP-TO-DATE :copycat:json:clean UP-TO-DATE :copycat:runtime:clean UP-TO-DATE :jar_core_2_10_5 Building project 'core' with Scala version 2.10.5 :kafka-trunk-jdk8:clients:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7 Note: <https://builds.apache.org/job/kafka-trunk-jdk8/ws/clients/src/main/java/org/apache/kafka/clients/producer/KafkaProducer.java> uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 warning :kafka-trunk-jdk8:clients:processResources UP-TO-DATE :kafka-trunk-jdk8:clients:classes :kafka-trunk-jdk8:clients:determineCommitId UP-TO-DATE :kafka-trunk-jdk8:clients:createVersionFile :kafka-trunk-jdk8:clients:jar :kafka-trunk-jdk8:core:compileJava UP-TO-DATE :kafka-trunk-jdk8:core:compileScala Download https://repo1.maven.org/maven2/com/101tec/zkclient/0.7/zkclient-0.7.pom Download https://repo1.maven.org/maven2/com/101tec/zkclient/0.7/zkclient-0.7.jar Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 <https://builds.apache.org/job/kafka-trunk-jdk8/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-jdk8/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-jdk8/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-jdk8/ws/core/src/main/scala/kafka/coordinator/GroupMetadataManager.scala>:392: 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-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:273: 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-jdk8/ws/core/src/main/scala/kafka/server/KafkaServer.scala>:293: a pure expression does nothing in statement position; you may be omitting necessary parentheses ControllerStats.uncleanLeaderElectionRate ^ <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/server/KafkaServer.scala>:294: a pure expression does nothing in statement position; you may be omitting necessary parentheses ControllerStats.leaderElectionTimer ^ <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/tools/ConsoleProducer.scala>:115: value METADATA_FETCH_TIMEOUT_CONFIG in object ProducerConfig is deprecated: see corresponding Javadoc for more information. props.put(ProducerConfig.METADATA_FETCH_TIMEOUT_CONFIG, config.metadataFetchTimeoutMs.toString) ^ <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/tools/ConsoleProducer.scala>:117: value TIMEOUT_CONFIG in object ProducerConfig is deprecated: see corresponding Javadoc for more information. props.put(ProducerConfig.TIMEOUT_CONFIG, config.requestTimeoutMs.toString) ^ <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/tools/ConsoleProducer.scala>:121: value BLOCK_ON_BUFFER_FULL_CONFIG in object ProducerConfig is deprecated: see corresponding Javadoc for more information. props.put(ProducerConfig.BLOCK_ON_BUFFER_FULL_CONFIG, "false") ^ <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/tools/EndToEndLatency.scala>:74: value BLOCK_ON_BUFFER_FULL_CONFIG in object ProducerConfig is deprecated: see corresponding Javadoc for more information. producerProps.put(ProducerConfig.BLOCK_ON_BUFFER_FULL_CONFIG, "true") ^ <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/tools/MirrorMaker.scala>:194: value BLOCK_ON_BUFFER_FULL_CONFIG in object ProducerConfig is deprecated: see corresponding Javadoc for more information. maybeSetDefaultProperty(producerProps, ProducerConfig.BLOCK_ON_BUFFER_FULL_CONFIG, "true") ^ <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/tools/ProducerPerformance.scala>:40: @deprecated now takes two arguments; see the scaladoc. @deprecated ^ <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/controller/ControllerChannelManager.scala>:389: class BrokerEndPoint in object UpdateMetadataRequest is deprecated: see corresponding Javadoc for more information. new UpdateMetadataRequest.BrokerEndPoint(brokerEndPoint.id, brokerEndPoint.host, brokerEndPoint.port) ^ <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/controller/ControllerChannelManager.scala>:391: constructor UpdateMetadataRequest in class UpdateMetadataRequest is deprecated: see corresponding Javadoc for more information. new UpdateMetadataRequest(controllerId, controllerEpoch, liveBrokers.asJava, partitionStates.asJava) ^ <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/network/BlockingChannel.scala>:129: method readFromReadableChannel in class NetworkReceive is deprecated: see corresponding Javadoc for more information. response.readFromReadableChannel(channel) ^ there were 15 feature warning(s); re-run with -feature for details 17 warnings found warning: [options] bootstrap class path not set in conjunction with -source 1.7 1 warning :jar_core_2_10_5 FAILED FAILURE: Build failed with an exception. * What went wrong: Could not add entry '<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/build/classes/main/kafka/admin/ConsumerGroupCommand$$anonfun$describe$2.class'> to cache fileHashes.bin (<https://builds.apache.org/job/kafka-trunk-jdk8/ws/.gradle/2.8/taskArtifacts/fileHashes.bin).> > Corrupted FreeListBlock 518873 found in cache > '<https://builds.apache.org/job/kafka-trunk-jdk8/ws/.gradle/2.8/taskArtifacts/fileHashes.bin'.> * 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: 1 mins 14.58 secs Build step 'Execute shell' marked build as failure Recording test results Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1 Setting JDK1_8_0_45_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk1.8.0_45 ERROR: Publisher 'Publish JUnit test result report' failed: No test report files were found. Configuration error? Setting GRADLE_2_1_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1 Setting JDK1_8_0_45_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk1.8.0_45