See <https://builds.apache.org/job/kafka-trunk-jdk8/1354/display/redirect?page=changes>
Changes: [junrao] KAFKA-4901; Make ProduceRequest thread-safe ------------------------------------------ [...truncated 7.47 KB...] <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 kafka.utils.ReplicationUtilsTest > testUpdateLeaderAndIsr PASSED kafka.utils.ReplicationUtilsTest > testGetLeaderIsrAndEpochForPartition STARTED kafka.utils.ReplicationUtilsTest > testGetLeaderIsrAndEpochForPartition PASSED kafka.utils.UtilsTest > testGenerateUuidAsBase64 STARTED kafka.utils.UtilsTest > testGenerateUuidAsBase64 PASSED kafka.utils.UtilsTest > testAbs STARTED kafka.utils.UtilsTest > testAbs PASSED kafka.utils.UtilsTest > testReplaceSuffix STARTED kafka.utils.UtilsTest > testReplaceSuffix PASSED kafka.utils.UtilsTest > testCircularIterator STARTED kafka.utils.UtilsTest > testCircularIterator PASSED kafka.utils.UtilsTest > testReadBytes STARTED kafka.utils.UtilsTest > testReadBytes PASSED kafka.utils.UtilsTest > testCsvList STARTED kafka.utils.UtilsTest > testCsvList PASSED kafka.utils.UtilsTest > testReadInt STARTED kafka.utils.UtilsTest > testReadInt PASSED kafka.utils.UtilsTest > testUrlSafeBase64EncodeUUID STARTED kafka.utils.UtilsTest > testUrlSafeBase64EncodeUUID PASSED kafka.utils.UtilsTest > testCsvMap STARTED kafka.utils.UtilsTest > testCsvMap PASSED kafka.utils.UtilsTest > testInLock STARTED kafka.utils.UtilsTest > testInLock PASSED kafka.utils.UtilsTest > testSwallow STARTED kafka.utils.UtilsTest > testSwallow PASSED kafka.utils.timer.TimerTest > testAlreadyExpiredTask STARTED kafka.utils.timer.TimerTest > testAlreadyExpiredTask PASSED kafka.utils.timer.TimerTest > testTaskExpiration STARTED kafka.utils.timer.TimerTest > testTaskExpiration PASSED kafka.utils.timer.TimerTaskListTest > testAll STARTED kafka.utils.timer.TimerTaskListTest > testAll PASSED kafka.utils.ZkUtilsTest > testAbortedConditionalDeletePath STARTED kafka.utils.ZkUtilsTest > testAbortedConditionalDeletePath PASSED kafka.utils.ZkUtilsTest > testSuccessfulConditionalDeletePath STARTED kafka.utils.ZkUtilsTest > testSuccessfulConditionalDeletePath PASSED kafka.utils.ZkUtilsTest > testClusterIdentifierJsonParsing STARTED kafka.utils.ZkUtilsTest > testClusterIdentifierJsonParsing PASSED kafka.utils.JsonTest > testJsonEncoding STARTED kafka.utils.JsonTest > testJsonEncoding PASSED kafka.utils.CommandLineUtilsTest > testParseEmptyArg STARTED kafka.utils.CommandLineUtilsTest > testParseEmptyArg PASSED kafka.utils.CommandLineUtilsTest > testParseSingleArg STARTED kafka.utils.CommandLineUtilsTest > testParseSingleArg PASSED kafka.utils.CommandLineUtilsTest > testParseArgs STARTED kafka.utils.CommandLineUtilsTest > testParseArgs PASSED kafka.utils.CommandLineUtilsTest > testParseEmptyArgAsValid STARTED kafka.utils.CommandLineUtilsTest > testParseEmptyArgAsValid PASSED kafka.utils.IteratorTemplateTest > testIterator STARTED kafka.utils.IteratorTemplateTest > testIterator PASSED kafka.zk.ZKPathTest > testCreatePersistentSequentialThrowsException STARTED kafka.zk.ZKPathTest > testCreatePersistentSequentialThrowsException PASSED kafka.zk.ZKPathTest > testCreatePersistentSequentialExists STARTED kafka.zk.ZKPathTest > testCreatePersistentSequentialExists PASSED kafka.zk.ZKPathTest > testCreateEphemeralPathExists STARTED kafka.zk.ZKPathTest > testCreateEphemeralPathExists PASSED kafka.zk.ZKPathTest > testCreatePersistentPath STARTED kafka.zk.ZKPathTest > testCreatePersistentPath PASSED kafka.zk.ZKPathTest > testMakeSurePersistsPathExistsThrowsException STARTED kafka.zk.ZKPathTest > testMakeSurePersistsPathExistsThrowsException PASSED kafka.zk.ZKPathTest > testCreateEphemeralPathThrowsException STARTED kafka.zk.ZKPathTest > testCreateEphemeralPathThrowsException PASSED kafka.zk.ZKPathTest > testCreatePersistentPathThrowsException STARTED kafka.zk.ZKPathTest > testCreatePersistentPathThrowsException PASSED kafka.zk.ZKPathTest > testMakeSurePersistsPathExists STARTED kafka.zk.ZKPathTest > testMakeSurePersistsPathExists PASSED kafka.zk.ZKEphemeralTest > testOverlappingSessions[0] STARTED kafka.zk.ZKEphemeralTest > testOverlappingSessions[0] PASSED kafka.zk.ZKEphemeralTest > testEphemeralNodeCleanup[0] STARTED kafka.zk.ZKEphemeralTest > testEphemeralNodeCleanup[0] PASSED kafka.zk.ZKEphemeralTest > testZkWatchedEphemeral[0] STARTED kafka.zk.ZKEphemeralTest > testZkWatchedEphemeral[0] PASSED kafka.zk.ZKEphemeralTest > testSameSession[0] STARTED # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 237502464 bytes for committing reserved memory. Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000e6a80000, 237502464, 0) failed; error='Cannot allocate memory' (errno=12) # An error report file with more information is saved as: # <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/hs_err_pid30616.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: 5 mins 50.776 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