You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2017/02/28 21:20:42 UTC
Build failed in Jenkins: kafka-trunk-jdk8 #1308
See <https://builds.apache.org/job/kafka-trunk-jdk8/1308/display/redirect?page=changes>
Changes:
[me] KAFKA-4809: docker/run_tests.sh should set up /opt/kafka-dev to be the
[me] MINOR: improve license header check by providing head file instead of
------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-us1 (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 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 d0e436c471ba4122ddcc0f7a1624546f97c4a517 (refs/remotes/origin/trunk)
> git config core.sparsecheckout # timeout=10
> git checkout -f d0e436c471ba4122ddcc0f7a1624546f97c4a517
> git rev-list 8e6fbe8fed592e7cc15731a0827c350794413767 # timeout=10
Setting GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2
[kafka-trunk-jdk8] $ /bin/bash -xe /tmp/hudson845165826670901739.sh
+ rm -rf <https://builds.apache.org/job/kafka-trunk-jdk8/ws/.gradle>
+ /home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2/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.4-rc-2/userguide/gradle_daemon.html.
Building project 'core' with Scala version 2.10.6
:downloadWrapper
BUILD SUCCESSFUL
Total time: 22.699 secs
Setting GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2
[kafka-trunk-jdk8] $ /bin/bash -xe /tmp/hudson7415865503829777297.sh
+ export GRADLE_OPTS=-Xmx1024m
+ GRADLE_OPTS=-Xmx1024m
+ ./gradlew --no-daemon -Dorg.gradle.project.maxParallelForks=1 -Dorg.gradle.project.testLoggingEvents=started,passed,skipped,failed clean testAll
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/3.2.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
Building project 'core' with Scala version 2.10.6
:clean UP-TO-DATE
:clients:clean
:connect: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
:connect:api:clean UP-TO-DATE
:connect:file:clean UP-TO-DATE
:connect:json:clean UP-TO-DATE
:connect:runtime:clean UP-TO-DATE
:connect:transforms:clean UP-TO-DATE
:streams:examples:clean UP-TO-DATE
:test_core_2_10
Building project 'core' with Scala version 2.10.6
:kafka-trunk-jdk8:clients:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7
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:clients:compileTestJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
:kafka-trunk-jdk8:clients:processTestResources
:kafka-trunk-jdk8:clients:testClasses
:kafka-trunk-jdk8:core:compileJava UP-TO-DATE
:kafka-trunk-jdk8:core:compileScala
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/api/OffsetCommitRequest.scala>:79: 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>:501: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information.
if (offsetAndMetadata.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>:325: value DEFAULT_TIMESTAMP in object OffsetCommitRequest is deprecated: see corresponding Javadoc for more information.
if (partitionData.timestamp == OffsetCommitRequest.DEFAULT_TIMESTAMP)
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/client/ClientUtils.scala>:94: class ProducerConfig in package producer is deprecated: This class has been deprecated and will be removed in a future release. Please use org.apache.kafka.clients.producer.ProducerConfig instead.
val producerConfig = new ProducerConfig(props)
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/client/ClientUtils.scala>:95: method fetchTopicMetadata in object ClientUtils is deprecated: This method has been deprecated and will be removed in a future release.
fetchTopicMetadata(topics, brokers, producerConfig, correlationId)
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/metrics/KafkaMetricsGroup.scala>:187: object ProducerRequestStatsRegistry in package producer is deprecated: This object has been deprecated and will be removed in a future release.
ProducerRequestStatsRegistry.removeProducerRequestStats(clientId)
^
<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)
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:325: value timestamp in class PartitionData is deprecated: see corresponding Javadoc for more information.
if (partitionData.timestamp == OffsetCommitRequest.DEFAULT_TIMESTAMP)
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:328: value timestamp in class PartitionData is deprecated: see corresponding Javadoc for more information.
offsetRetention + partitionData.timestamp
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:575: method offsetData in class ListOffsetRequest is deprecated: see corresponding Javadoc for more information.
val (authorizedRequestInfo, unauthorizedRequestInfo) = offsetRequest.offsetData.asScala.partition {
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:575: class PartitionData in object ListOffsetRequest is deprecated: see corresponding Javadoc for more information.
val (authorizedRequestInfo, unauthorizedRequestInfo) = offsetRequest.offsetData.asScala.partition {
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:580: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information.
new ListOffsetResponse.PartitionData(Errors.UNKNOWN_TOPIC_OR_PARTITION, List[JLong]().asJava)
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:605: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information.
(topicPartition, new ListOffsetResponse.PartitionData(Errors.NONE, offsets.map(new JLong(_)).asJava))
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:612: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information.
(topicPartition, new ListOffsetResponse.PartitionData(Errors.forException(e), List[JLong]().asJava))
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:615: constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc for more information.
(topicPartition, new ListOffsetResponse.PartitionData(Errors.forException(e), List[JLong]().asJava))
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/server/ReplicaFetcherThread.scala>:269: class PartitionData in object ListOffsetRequest is deprecated: see corresponding Javadoc for more information.
val partitions = Map(topicPartition -> new ListOffsetRequest.PartitionData(earliestOrLatest, 1))
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/server/ReplicaFetcherThread.scala>:280: value offsets in class PartitionData is deprecated: see corresponding Javadoc for more information.
partitionData.offsets.get(0)
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/tools/ConsoleProducer.scala>:45: class OldProducer in package producer is deprecated: This class has been deprecated and will be removed in a future release. Please use org.apache.kafka.clients.producer.KafkaProducer instead.
new OldProducer(getOldProducerProps(config))
^
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/main/scala/kafka/tools/ConsoleProducer.scala>:47: class NewShinyProducer in package producer is deprecated: This class has been deprecated and will be removed in a future release. Please use org.apache.kafka.clients.producer.KafkaProducer instead.
new NewShinyProducer(getNewProducerProps(config))
^
21 warnings found
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
:kafka-trunk-jdk8:core:processResources UP-TO-DATE
:kafka-trunk-jdk8:core:classes
:kafka-trunk-jdk8:core:checkstyleMain
:kafka-trunk-jdk8:core:compileTestJava UP-TO-DATE
:kafka-trunk-jdk8:core:compileTestScala
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/src/test/scala/unit/kafka/metrics/MetricsTest.scala>:88: method createAndShutdownStep in class MetricsTest is deprecated: This test has been deprecated and it will be removed in a future release
createAndShutdownStep("group0", "consumer0", "producer0")
^
one warning found
:kafka-trunk-jdk8:core:processTestResources
:kafka-trunk-jdk8:core:testClasses
:kafka-trunk-jdk8:core:checkstyleTest UP-TO-DATE
:kafka-trunk-jdk8:core:test
kafka.utils.SchedulerTest > testMockSchedulerNonPeriodicTask STARTED
kafka.utils.SchedulerTest > testMockSchedulerNonPeriodicTask PASSED
kafka.utils.SchedulerTest > testMockSchedulerPeriodicTask STARTED
kafka.utils.SchedulerTest > testMockSchedulerPeriodicTask PASSED
kafka.utils.SchedulerTest > testNonPeriodicTask STARTED
kafka.utils.SchedulerTest > testNonPeriodicTask PASSED
kafka.utils.SchedulerTest > testRestart STARTED
kafka.utils.SchedulerTest > testRestart PASSED
kafka.utils.SchedulerTest > testReentrantTaskInMockScheduler STARTED
kafka.utils.SchedulerTest > testReentrantTaskInMockScheduler PASSED
kafka.utils.SchedulerTest > testPeriodicTask STARTED
kafka.utils.SchedulerTest > testPeriodicTask PASSED
kafka.utils.ShutdownableThreadTest > testShutdownWhenCalledAfterThreadStart STARTED
kafka.utils.ShutdownableThreadTest > testShutdownWhenCalledAfterThreadStart PASSED
kafka.utils.ReplicationUtilsTest > testUpdateLeaderAndIsr STARTED
#
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000dea80000, 134217728, 0) failed; error='Cannot allocate memory' (errno=12)
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 134217728 bytes for committing reserved memory.
# An error report file with more information is saved as:
# <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/hs_err_pid31303.log>
:kafka-trunk-jdk8:core:test FAILED
:test_core_2_10 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: 7 mins 20.303 secs
Build step 'Execute shell' marked build as failure
Recording test results
Setting GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Setting GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2