See <https://builds.apache.org/job/kafka-trunk-jdk8/282/changes>
Changes:
[wangguoz] MINOR: remove unused TimeUnit from MetricConfig
------------------------------------------
[...truncated 1452 lines...]
kafka.KafkaTest > testGetKafkaConfigFromArgsNonArgsOnly PASSED
kafka.KafkaTest > testGetKafkaConfigFromArgsNonArgsAtTheBegging PASSED
kafka.metrics.KafkaTimerTest > testKafkaTimer PASSED
kafka.utils.UtilsTest > testAbs PASSED
kafka.utils.UtilsTest > testReplaceSuffix PASSED
kafka.utils.UtilsTest > testCircularIterator PASSED
kafka.utils.UtilsTest > testReadBytes PASSED
kafka.utils.UtilsTest > testCsvList PASSED
kafka.utils.UtilsTest > testReadInt PASSED
kafka.utils.UtilsTest > testCsvMap PASSED
kafka.utils.UtilsTest > testInLock PASSED
kafka.utils.UtilsTest > testSwallow PASSED
kafka.utils.SchedulerTest > testMockSchedulerNonPeriodicTask PASSED
kafka.utils.SchedulerTest > testMockSchedulerPeriodicTask PASSED
kafka.utils.SchedulerTest > testNonPeriodicTask PASSED
kafka.utils.SchedulerTest > testRestart PASSED
kafka.utils.SchedulerTest > testReentrantTaskInMockScheduler PASSED
kafka.utils.SchedulerTest > testPeriodicTask PASSED
kafka.utils.ByteBoundedBlockingQueueTest > testByteBoundedBlockingQueue PASSED
kafka.utils.timer.TimerTaskListTest > testAll PASSED
kafka.utils.timer.TimerTest > testAlreadyExpiredTask PASSED
kafka.utils.timer.TimerTest > testTaskExpiration PASSED
kafka.utils.CommandLineUtilsTest > testParseEmptyArg PASSED
kafka.utils.CommandLineUtilsTest > testParseSingleArg PASSED
kafka.utils.CommandLineUtilsTest > testParseArgs PASSED
kafka.utils.IteratorTemplateTest > testIterator PASSED
kafka.utils.ReplicationUtilsTest > testUpdateLeaderAndIsr PASSED
kafka.utils.ReplicationUtilsTest > testGetLeaderIsrAndEpochForPartition PASSED
kafka.utils.JsonTest > testJsonEncoding PASSED
kafka.message.MessageCompressionTest > testCompressSize PASSED
kafka.message.MessageCompressionTest > testSimpleCompressDecompress PASSED
kafka.message.MessageWriterTest > testWithNoCompressionAttribute PASSED
kafka.message.MessageWriterTest > testWithCompressionAttribute PASSED
kafka.message.MessageWriterTest > testBufferingOutputStream PASSED
kafka.message.MessageWriterTest > testWithKey PASSED
kafka.message.MessageTest > testChecksum PASSED
kafka.message.MessageTest > testIsHashable PASSED
kafka.message.MessageTest > testFieldValues PASSED
kafka.message.MessageTest > testEquality PASSED
kafka.message.ByteBufferMessageSetTest > testOffsetAssignment PASSED
kafka.message.ByteBufferMessageSetTest > testValidBytes PASSED
kafka.message.ByteBufferMessageSetTest > testValidBytesWithCompression PASSED
kafka.message.ByteBufferMessageSetTest > testIteratorIsConsistent PASSED
kafka.message.ByteBufferMessageSetTest > testWrittenEqualsRead PASSED
kafka.message.ByteBufferMessageSetTest > testWriteTo PASSED
kafka.message.ByteBufferMessageSetTest > testEquals PASSED
kafka.message.ByteBufferMessageSetTest > testSizeInBytes PASSED
kafka.message.ByteBufferMessageSetTest > testIterator PASSED
kafka.tools.ConsoleProducerTest > testParseKeyProp PASSED
kafka.tools.ConsoleProducerTest > testValidConfigsOldProducer PASSED
kafka.tools.ConsoleProducerTest > testInvalidConfigs PASSED
kafka.tools.ConsoleProducerTest > testValidConfigsNewProducer PASSED
kafka.network.SocketServerTest > testMaxConnectionsPerIp PASSED
kafka.network.SocketServerTest > simpleRequest PASSED
kafka.network.SocketServerTest > testSessionPrincipal PASSED
kafka.network.SocketServerTest > testSocketsCloseOnShutdown PASSED
kafka.network.SocketServerTest > testMaxConnectionsPerIPOverrides PASSED
kafka.network.SocketServerTest > testSslSocketServer PASSED
kafka.network.SocketServerTest > tooBigRequestIsRejected PASSED
kafka.zk.ZKPathTest > testCreatePersistentSequentialThrowsException PASSED
kafka.zk.ZKPathTest > testCreatePersistentSequentialExists PASSED
kafka.zk.ZKPathTest > testCreateEphemeralPathExists PASSED
kafka.zk.ZKPathTest > testCreatePersistentPath PASSED
kafka.zk.ZKPathTest > testMakeSurePersistsPathExistsThrowsException PASSED
kafka.zk.ZKPathTest > testCreateEphemeralPathThrowsException PASSED
kafka.zk.ZKPathTest > testCreatePersistentPathThrowsException PASSED
kafka.zk.ZKPathTest > testMakeSurePersistsPathExists PASSED
kafka.zk.ZKEphemeralTest > testOverlappingSessions[0] PASSED
kafka.zk.ZKEphemeralTest > testEphemeralNodeCleanup[0] PASSED
kafka.zk.ZKEphemeralTest > testZkWatchedEphemeral[0] PASSED
kafka.zk.ZKEphemeralTest > testSameSession[0] PASSED
kafka.zk.ZKEphemeralTest > testOverlappingSessions[1] PASSED
kafka.zk.ZKEphemeralTest > testEphemeralNodeCleanup[1] PASSED
kafka.zk.ZKEphemeralTest > testZkWatchedEphemeral[1] PASSED
kafka.zk.ZKEphemeralTest > testSameSession[1] PASSED
kafka.common.ConfigTest > testInvalidGroupIds PASSED
kafka.common.ConfigTest > testInvalidClientIds PASSED
kafka.common.TopicTest > testInvalidTopicNames PASSED
kafka.common.TopicTest > testTopicHasCollision PASSED
kafka.common.TopicTest > testTopicHasCollisionChars PASSED
kafka.common.ZkNodeChangeNotificationListenerTest > testProcessNotification
PASSED
:test_core_2_11
Building project 'core' with Scala version 2.11.7
:kafka-trunk-jdk8:clients:compileJava UP-TO-DATE
:kafka-trunk-jdk8:clients:processResources UP-TO-DATE
:kafka-trunk-jdk8:clients:classes UP-TO-DATE
:kafka-trunk-jdk8:clients:determineCommitId UP-TO-DATE
:kafka-trunk-jdk8:clients:createVersionFile
:kafka-trunk-jdk8:clients:jar UP-TO-DATE
:kafka-trunk-jdk8:clients:compileTestJava UP-TO-DATE
:kafka-trunk-jdk8:clients:processTestResources UP-TO-DATE
:kafka-trunk-jdk8:clients:testClasses UP-TO-DATE
:kafka-trunk-jdk8:core:compileJava UP-TO-DATE
:kafka-trunk-jdk8:core:compileScalaJava HotSpot(TM) 64-Bit Server VM warning:
ignoring option MaxPermSize=512m; support was removed in 8.0
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/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
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/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,
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/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) {
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/core/src/main/scala/kafka/coordinator/GroupMetadataManager.scala:394:
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)
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/core/src/main/scala/kafka/server/KafkaApis.scala:293:
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)
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/core/src/main/scala/kafka/server/KafkaServer.scala:301:
a pure expression does nothing in statement position; you may be omitting
necessary parentheses
ControllerStats.uncleanLeaderElectionRate
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/core/src/main/scala/kafka/server/KafkaServer.scala:302:
a pure expression does nothing in statement position; you may be omitting
necessary parentheses
ControllerStats.leaderElectionTimer
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/core/src/main/scala/kafka/admin/AclCommand.scala:245:
method readLine in class DeprecatedConsole is deprecated: Use the method in
scala.io.StdIn
Console.readLine().equalsIgnoreCase("y")
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/core/src/main/scala/kafka/admin/TopicCommand.scala:366:
method readLine in class DeprecatedConsole is deprecated: Use the method in
scala.io.StdIn
if (!Console.readLine().equalsIgnoreCase("y")) {
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/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)
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/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)
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/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 warnings; re-run with -feature for details
13 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
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/core/src/test/scala/integration/kafka/api/QuotasTest.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, "false")
^
/x1/jenkins/jenkins-slave/workspace/kafka-trunk-jdk8/core/src/test/scala/kafka/tools/TestLogCleaning.scala:250:
value BLOCK_ON_BUFFER_FULL_CONFIG in object ProducerConfig is deprecated: see
corresponding Javadoc for more information.
producerProps.setProperty(ProducerConfig.BLOCK_ON_BUFFER_FULL_CONFIG,
"true")
^
there were four feature warnings; re-run with -feature for details
three warnings found
:kafka-trunk-jdk8:core:processTestResources
:test_core_2_11 FAILED
FAILURE: Build failed with an exception.
* What went wrong:
org.gradle.api.internal.changedetection.state.DefaultFileCollectionSnapshotter$FileCollectionSnapshotImpl
cannot be cast to
org.gradle.api.internal.changedetection.state.OutputFilesCollectionSnapshotter$OutputFilesSnapshot
* 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: 45 mins 24.352 secs
Build step 'Execute shell' marked build as failure
Recording test results
Setting
JDK1_8_0_45_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk1.8.0_45
Setting
GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2
Setting
JDK1_8_0_45_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk1.8.0_45
Setting
GRADLE_2_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.4-rc-2