kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: kafka-0.10.2-jdk7 #174
Date Wed, 21 Jun 2017 01:03:55 GMT
See <https://builds.apache.org/job/kafka-0.10.2-jdk7/174/display/redirect?page=changes>

Changes:

[junrao] KAFKA-5413; Log cleaner fails due to large offset in segment file

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H14 (ubuntu xenial) in workspace <https://builds.apache.org/job/kafka-0.10.2-jdk7/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/0.10.2^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/0.10.2^{commit} # timeout=10
Checking out Revision 7647b97f317ad8231a2b77c71ccf7e3ddb29a4cd (refs/remotes/origin/0.10.2)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7647b97f317ad8231a2b77c71ccf7e3ddb29a4cd
 > git rev-list 43fe077e9250f113a625c76546df2e9f3c2459db # timeout=10
Setting GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2
[kafka-0.10.2-jdk7] $ /bin/bash -xe /tmp/hudson1808710320236213186.sh
+ rm -rf <https://builds.apache.org/job/kafka-0.10.2-jdk7/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: 16.259 secs
Setting GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2
[kafka-0.10.2-jdk7] $ /bin/bash -xe /tmp/hudson5244801109611575109.sh
+ export 'GRADLE_OPTS=-Xmx1024m -XX:MaxPermSize=256m'
+ GRADLE_OPTS='-Xmx1024m -XX:MaxPermSize=256m'
+ ./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
:log4j-appender:clean
:streams:clean
:tools:clean
:connect:api:clean
:connect:file:clean
:connect:json:clean
:connect:runtime:clean
:connect:transforms:clean
:streams:examples:clean
:test_core_2_10
Building project 'core' with Scala version 2.10.6
:kafka-0.10.2-jdk7:clients:compileJavaNote: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

:kafka-0.10.2-jdk7:clients:processResources UP-TO-DATE
:kafka-0.10.2-jdk7:clients:classes
:kafka-0.10.2-jdk7:clients:determineCommitId UP-TO-DATE
:kafka-0.10.2-jdk7:clients:createVersionFile
:kafka-0.10.2-jdk7:clients:jar
:kafka-0.10.2-jdk7:clients:compileTestJava
:kafka-0.10.2-jdk7:clients:processTestResources
:kafka-0.10.2-jdk7:clients:testClasses
:kafka-0.10.2-jdk7:core:compileJava UP-TO-DATE
:kafka-0.10.2-jdk7:core:compileScala
<https://builds.apache.org/job/kafka-0.10.2-jdk7/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-0.10.2-jdk7/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-0.10.2-jdk7/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-0.10.2-jdk7/ws/core/src/main/scala/kafka/coordinator/GroupMetadataManager.scala>:507:
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-0.10.2-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:323:
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-0.10.2-jdk7/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-0.10.2-jdk7/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-0.10.2-jdk7/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-0.10.2-jdk7/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-0.10.2-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:323:
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-0.10.2-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:326:
value timestamp in class PartitionData is deprecated: see corresponding Javadoc for more information.
                offsetRetention + partitionData.timestamp
                                                ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:578:
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-0.10.2-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:578:
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-0.10.2-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:583:
constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc
for more information.
      new ListOffsetResponse.PartitionData(Errors.UNKNOWN_TOPIC_OR_PARTITION.code, List[JLong]().asJava)
      ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:608:
constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc
for more information.
        (topicPartition, new ListOffsetResponse.PartitionData(Errors.NONE.code, offsets.map(new
JLong(_)).asJava))
                         ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/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).code,
List[JLong]().asJava))
                           ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/main/scala/kafka/server/KafkaApis.scala>:618:
constructor PartitionData in class PartitionData is deprecated: see corresponding Javadoc
for more information.
          (topicPartition, new ListOffsetResponse.PartitionData(Errors.forException(e).code,
List[JLong]().asJava))
                           ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/main/scala/kafka/server/ReplicaFetcherThread.scala>:267:
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-0.10.2-jdk7/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-0.10.2-jdk7/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-0.10.2-jdk7/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
:kafka-0.10.2-jdk7:core:processResources UP-TO-DATE
:kafka-0.10.2-jdk7:core:classes
:kafka-0.10.2-jdk7:core:checkstyleMain
:kafka-0.10.2-jdk7:core:compileTestJava UP-TO-DATE
:kafka-0.10.2-jdk7:core:compileTestScala<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/test/scala/unit/kafka/log/LogCleanerTest.scala>:483:
type mismatch;
 found   : Array[Byte]
 required: Int
    val record1 = messageWithOffset("hello".getBytes, "hello".getBytes, 0)
                                            ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/test/scala/unit/kafka/log/LogCleanerTest.scala>:484:
value appendAsFollower is not a member of kafka.log.Log
    log.appendAsFollower(record1)
        ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/test/scala/unit/kafka/log/LogCleanerTest.scala>:485:
type mismatch;
 found   : Array[Byte]
 required: Int
    val record2 = messageWithOffset("hello".getBytes, "hello".getBytes, 1)
                                            ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/test/scala/unit/kafka/log/LogCleanerTest.scala>:486:
value appendAsFollower is not a member of kafka.log.Log
    log.appendAsFollower(record2)
        ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/test/scala/unit/kafka/log/LogCleanerTest.scala>:488:
type mismatch;
 found   : Array[Byte]
 required: Int
    val record3 = messageWithOffset("hello".getBytes, "hello".getBytes, Int.MaxValue/2)
                                            ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/test/scala/unit/kafka/log/LogCleanerTest.scala>:489:
value appendAsFollower is not a member of kafka.log.Log
    log.appendAsFollower(record3)
        ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/test/scala/unit/kafka/log/LogCleanerTest.scala>:490:
type mismatch;
 found   : Array[Byte]
 required: Int
    val record4 = messageWithOffset("hello".getBytes, "hello".getBytes, Int.MaxValue.toLong
+ 1)
                                            ^
<https://builds.apache.org/job/kafka-0.10.2-jdk7/ws/core/src/test/scala/unit/kafka/log/LogCleanerTest.scala>:491:
value appendAsFollower is not a member of kafka.log.Log
    log.appendAsFollower(record4)
        ^
8 errors found
 FAILED
:test_core_2_10 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core:compileTestScala'.
> Compilation failed

* 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: 2 mins 9.092 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

Mime
View raw message