See <https://builds.apache.org/job/kafka-trunk-jdk8/1746/display/redirect?page=changes>
Changes: [ismael] KAFKA-5490; Skip empty record batches in the consumer [ismael] MINOR: Switch ZK client logging to INFO ------------------------------------------ [...truncated 992.95 KB...] kafka.utils.CommandLineUtilsTest > testParseArgs STARTED kafka.utils.CommandLineUtilsTest > testParseArgs PASSED kafka.utils.CommandLineUtilsTest > testParseEmptyArgAsValid STARTED kafka.utils.CommandLineUtilsTest > testParseEmptyArgAsValid PASSED kafka.utils.ReplicationUtilsTest > classMethod STARTED kafka.utils.ReplicationUtilsTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads, allThreads=Set(ThrottledRequestReaper-Produce, metrics-meter-tick-thread-2, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 2, main, SessionTracker, Signal Dispatcher, ZkClient-EventThread-33295-127.0.0.1:51309, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 3, Reference Handler, ExpirationReaper-0-Produce, Test worker-SendThread(127.0.0.1:51309), ExpirationReaper-0-DeleteRecords, ReplicaFetcherThread-0-0, ThrottledRequestReaper-Fetch, kafka-request-handler-1, ThrottledRequestReaper-Request, ForkJoinPool-1-worker-3, Test worker, SyncThread:0, NIOServerCxn.Factory:/127.0.0.1:0, Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, kafka-coordinator-heartbeat-thread | group1, ProcessThread(sid:0 cport:51309):, metrics-meter-tick-thread-1) kafka.utils.ReplicationUtilsTest > classMethod STARTED kafka.utils.ReplicationUtilsTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads, allThreads=Set(ThrottledRequestReaper-Produce, metrics-meter-tick-thread-2, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 2, main, SessionTracker, Signal Dispatcher, ZkClient-EventThread-33295-127.0.0.1:51309, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 3, Reference Handler, ExpirationReaper-0-Produce, Test worker-SendThread(127.0.0.1:51309), ExpirationReaper-0-DeleteRecords, ReplicaFetcherThread-0-0, ThrottledRequestReaper-Fetch, kafka-request-handler-1, ThrottledRequestReaper-Request, ForkJoinPool-1-worker-3, Test worker, SyncThread:0, NIOServerCxn.Factory:/127.0.0.1:0, Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, kafka-coordinator-heartbeat-thread | group1, ProcessThread(sid:0 cport:51309):, metrics-meter-tick-thread-1) kafka.utils.JsonTest > testJsonEncoding STARTED kafka.utils.JsonTest > testJsonEncoding PASSED kafka.utils.ShutdownableThreadTest > testShutdownWhenCalledAfterThreadStart STARTED kafka.utils.ShutdownableThreadTest > testShutdownWhenCalledAfterThreadStart PASSED 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.ZkUtilsTest > classMethod STARTED kafka.utils.ZkUtilsTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads, allThreads=Set(ThrottledRequestReaper-Produce, metrics-meter-tick-thread-2, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 2, main, SessionTracker, Signal Dispatcher, ZkClient-EventThread-33295-127.0.0.1:51309, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 3, Reference Handler, ExpirationReaper-0-Produce, Test worker-SendThread(127.0.0.1:51309), ExpirationReaper-0-DeleteRecords, ReplicaFetcherThread-0-0, ThrottledRequestReaper-Fetch, kafka-request-handler-1, ThrottledRequestReaper-Request, ForkJoinPool-1-worker-3, Test worker, SyncThread:0, NIOServerCxn.Factory:/127.0.0.1:0, Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, kafka-coordinator-heartbeat-thread | group1, ProcessThread(sid:0 cport:51309):, metrics-meter-tick-thread-1) kafka.utils.ZkUtilsTest > classMethod STARTED kafka.utils.ZkUtilsTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads, allThreads=Set(ThrottledRequestReaper-Produce, metrics-meter-tick-thread-2, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 2, main, SessionTracker, Signal Dispatcher, ZkClient-EventThread-33295-127.0.0.1:51309, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 3, Reference Handler, ExpirationReaper-0-Produce, Test worker-SendThread(127.0.0.1:51309), ExpirationReaper-0-DeleteRecords, ReplicaFetcherThread-0-0, ThrottledRequestReaper-Fetch, kafka-request-handler-1, ThrottledRequestReaper-Request, ForkJoinPool-1-worker-3, Test worker, SyncThread:0, NIOServerCxn.Factory:/127.0.0.1:0, Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, kafka-coordinator-heartbeat-thread | group1, ProcessThread(sid:0 cport:51309):, metrics-meter-tick-thread-1) kafka.utils.IteratorTemplateTest > testIterator STARTED kafka.utils.IteratorTemplateTest > testIterator 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.producer.AsyncProducerTest > testFailedSendRetryLogic STARTED kafka.producer.AsyncProducerTest > testFailedSendRetryLogic PASSED kafka.producer.AsyncProducerTest > testQueueTimeExpired STARTED kafka.producer.AsyncProducerTest > testQueueTimeExpired PASSED kafka.producer.AsyncProducerTest > testPartitionAndCollateEvents STARTED kafka.producer.AsyncProducerTest > testPartitionAndCollateEvents PASSED kafka.producer.AsyncProducerTest > testBatchSize STARTED kafka.producer.AsyncProducerTest > testBatchSize PASSED kafka.producer.AsyncProducerTest > testSerializeEvents STARTED kafka.producer.AsyncProducerTest > testSerializeEvents PASSED kafka.producer.AsyncProducerTest > testProducerQueueSize STARTED kafka.producer.AsyncProducerTest > testProducerQueueSize PASSED kafka.producer.AsyncProducerTest > testRandomPartitioner STARTED kafka.producer.AsyncProducerTest > testRandomPartitioner PASSED kafka.producer.AsyncProducerTest > testInvalidConfiguration STARTED kafka.producer.AsyncProducerTest > testInvalidConfiguration PASSED kafka.producer.AsyncProducerTest > testInvalidPartition STARTED kafka.producer.AsyncProducerTest > testInvalidPartition PASSED kafka.producer.AsyncProducerTest > testNoBroker STARTED kafka.producer.AsyncProducerTest > testNoBroker PASSED kafka.producer.AsyncProducerTest > testProduceAfterClosed STARTED kafka.producer.AsyncProducerTest > testProduceAfterClosed PASSED kafka.producer.AsyncProducerTest > testJavaProducer STARTED kafka.producer.AsyncProducerTest > testJavaProducer PASSED kafka.producer.AsyncProducerTest > testIncompatibleEncoder STARTED kafka.producer.AsyncProducerTest > testIncompatibleEncoder PASSED kafka.producer.SyncProducerTest > classMethod STARTED kafka.producer.SyncProducerTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads, allThreads=Set(ThrottledRequestReaper-Produce, metrics-meter-tick-thread-2, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 2, main, SessionTracker, Signal Dispatcher, ZkClient-EventThread-33295-127.0.0.1:51309, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 3, Reference Handler, ExpirationReaper-0-Produce, Test worker-SendThread(127.0.0.1:51309), ExpirationReaper-0-DeleteRecords, ReplicaFetcherThread-0-0, ThrottledRequestReaper-Fetch, kafka-request-handler-1, ThrottledRequestReaper-Request, ForkJoinPool-1-worker-3, Test worker, SyncThread:0, NIOServerCxn.Factory:/127.0.0.1:0, Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, kafka-coordinator-heartbeat-thread | group1, ProcessThread(sid:0 cport:51309):, metrics-meter-tick-thread-1) kafka.producer.SyncProducerTest > classMethod STARTED kafka.producer.SyncProducerTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads, allThreads=Set(ThrottledRequestReaper-Produce, metrics-meter-tick-thread-2, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 2, main, SessionTracker, Signal Dispatcher, ZkClient-EventThread-33295-127.0.0.1:51309, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 3, Reference Handler, ExpirationReaper-0-Produce, Test worker-SendThread(127.0.0.1:51309), ExpirationReaper-0-DeleteRecords, ReplicaFetcherThread-0-0, ThrottledRequestReaper-Fetch, kafka-request-handler-1, ThrottledRequestReaper-Request, ForkJoinPool-1-worker-3, Test worker, SyncThread:0, NIOServerCxn.Factory:/127.0.0.1:0, Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, kafka-coordinator-heartbeat-thread | group1, ProcessThread(sid:0 cport:51309):, metrics-meter-tick-thread-1) kafka.producer.ProducerTest > classMethod STARTED kafka.producer.ProducerTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads, allThreads=Set(ThrottledRequestReaper-Produce, metrics-meter-tick-thread-2, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 2, main, SessionTracker, Signal Dispatcher, ZkClient-EventThread-33295-127.0.0.1:51309, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 3, Reference Handler, ExpirationReaper-0-Produce, Test worker-SendThread(127.0.0.1:51309), ExpirationReaper-0-DeleteRecords, ReplicaFetcherThread-0-0, ThrottledRequestReaper-Fetch, kafka-request-handler-1, ThrottledRequestReaper-Request, ForkJoinPool-1-worker-3, Test worker, SyncThread:0, NIOServerCxn.Factory:/127.0.0.1:0, Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, kafka-coordinator-heartbeat-thread | group1, ProcessThread(sid:0 cport:51309):, metrics-meter-tick-thread-1) kafka.producer.ProducerTest > classMethod STARTED kafka.producer.ProducerTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads, allThreads=Set(ThrottledRequestReaper-Produce, metrics-meter-tick-thread-2, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 2, main, SessionTracker, Signal Dispatcher, ZkClient-EventThread-33295-127.0.0.1:51309, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 3, Reference Handler, ExpirationReaper-0-Produce, Test worker-SendThread(127.0.0.1:51309), ExpirationReaper-0-DeleteRecords, ReplicaFetcherThread-0-0, ThrottledRequestReaper-Fetch, kafka-request-handler-1, ThrottledRequestReaper-Request, ForkJoinPool-1-worker-3, Test worker, SyncThread:0, NIOServerCxn.Factory:/127.0.0.1:0, Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, kafka-coordinator-heartbeat-thread | group1, ProcessThread(sid:0 cport:51309):, metrics-meter-tick-thread-1) unit.kafka.server.KafkaApisTest > shouldRespondWithUnsupportedForMessageFormatOnHandleWriteTxnMarkersWhenMagicLowerThanRequired STARTED unit.kafka.server.KafkaApisTest > shouldRespondWithUnsupportedForMessageFormatOnHandleWriteTxnMarkersWhenMagicLowerThanRequired PASSED unit.kafka.server.KafkaApisTest > shouldThrowUnsupportedVersionExceptionOnHandleTxnOffsetCommitRequestWhenInterBrokerProtocolNotSupported STARTED unit.kafka.server.KafkaApisTest > shouldThrowUnsupportedVersionExceptionOnHandleTxnOffsetCommitRequestWhenInterBrokerProtocolNotSupported PASSED unit.kafka.server.KafkaApisTest > shouldThrowUnsupportedVersionExceptionOnHandleAddPartitionsToTxnRequestWhenInterBrokerProtocolNotSupported STARTED unit.kafka.server.KafkaApisTest > shouldThrowUnsupportedVersionExceptionOnHandleAddPartitionsToTxnRequestWhenInterBrokerProtocolNotSupported PASSED unit.kafka.server.KafkaApisTest > shouldAppendToLogOnWriteTxnMarkersWhenCorrectMagicVersion STARTED unit.kafka.server.KafkaApisTest > shouldAppendToLogOnWriteTxnMarkersWhenCorrectMagicVersion PASSED unit.kafka.server.KafkaApisTest > shouldThrowUnsupportedVersionExceptionOnHandleWriteTxnMarkersRequestWhenInterBrokerProtocolNotSupported STARTED unit.kafka.server.KafkaApisTest > shouldThrowUnsupportedVersionExceptionOnHandleWriteTxnMarkersRequestWhenInterBrokerProtocolNotSupported PASSED unit.kafka.server.KafkaApisTest > shouldThrowUnsupportedVersionExceptionOnHandleAddOffsetToTxnRequestWhenInterBrokerProtocolNotSupported STARTED unit.kafka.server.KafkaApisTest > shouldThrowUnsupportedVersionExceptionOnHandleAddOffsetToTxnRequestWhenInterBrokerProtocolNotSupported PASSED unit.kafka.server.KafkaApisTest > shouldRespondWithUnsupportedMessageFormatForBadPartitionAndNoErrorsForGoodPartition STARTED unit.kafka.server.KafkaApisTest > shouldRespondWithUnsupportedMessageFormatForBadPartitionAndNoErrorsForGoodPartition PASSED unit.kafka.server.KafkaApisTest > shouldThrowUnsupportedVersionExceptionOnHandleEndTxnRequestWhenInterBrokerProtocolNotSupported STARTED unit.kafka.server.KafkaApisTest > shouldThrowUnsupportedVersionExceptionOnHandleEndTxnRequestWhenInterBrokerProtocolNotSupported PASSED unit.kafka.admin.ResetConsumerGroupOffsetTest > classMethod STARTED unit.kafka.admin.ResetConsumerGroupOffsetTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads, allThreads=Set(ThrottledRequestReaper-Produce, metrics-meter-tick-thread-2, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 2, main, SessionTracker, Signal Dispatcher, ZkClient-EventThread-33295-127.0.0.1:51309, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 3, Reference Handler, ExpirationReaper-0-Produce, Test worker-SendThread(127.0.0.1:51309), ExpirationReaper-0-DeleteRecords, ReplicaFetcherThread-0-0, ThrottledRequestReaper-Fetch, kafka-request-handler-1, ThrottledRequestReaper-Request, ForkJoinPool-1-worker-3, Test worker, SyncThread:0, NIOServerCxn.Factory:/127.0.0.1:0, Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, kafka-coordinator-heartbeat-thread | group1, ProcessThread(sid:0 cport:51309):, metrics-meter-tick-thread-1) unit.kafka.admin.ResetConsumerGroupOffsetTest > classMethod STARTED unit.kafka.admin.ResetConsumerGroupOffsetTest > classMethod FAILED java.lang.AssertionError: Found unexpected threads, allThreads=Set(ThrottledRequestReaper-Produce, metrics-meter-tick-thread-2, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 2, main, SessionTracker, Signal Dispatcher, ZkClient-EventThread-33295-127.0.0.1:51309, /0:0:0:0:0:0:0:1:41069 to /0:0:0:0:0:0:0:1:36745 workers Thread 3, Reference Handler, ExpirationReaper-0-Produce, Test worker-SendThread(127.0.0.1:51309), ExpirationReaper-0-DeleteRecords, ReplicaFetcherThread-0-0, ThrottledRequestReaper-Fetch, kafka-request-handler-1, ThrottledRequestReaper-Request, ForkJoinPool-1-worker-3, Test worker, SyncThread:0, NIOServerCxn.Factory:/127.0.0.1:0, Test worker-EventThread, ExpirationReaper-0-Fetch, Finalizer, kafka-coordinator-heartbeat-thread | group1, ProcessThread(sid:0 cport:51309):, metrics-meter-tick-thread-1) 1212 tests completed, 94 failed, 3 skipped :kafka-trunk-jdk8:core:test FAILED :test_core_2_11 FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':kafka-trunk-jdk8:core:test'. > There were failing tests. See the report at: > file://<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/build/reports/tests/test/index.html> * 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: 53 mins 33.231 secs Build step 'Execute shell' marked build as failure [FINDBUGS] Collecting findbugs analysis files... Setting GRADLE_3_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_3.4-rc-2 [FINDBUGS] Searching for all files in <https://builds.apache.org/job/kafka-trunk-jdk8/ws/> that match the pattern **/build/reports/findbugs/*.xml [FINDBUGS] Parsing 1 file in <https://builds.apache.org/job/kafka-trunk-jdk8/ws/> [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/build/reports/findbugs/main.xml> with 0 unique warnings and 0 duplicates. [FINDBUGS] Computing warning deltas based on reference build #1745 Recording test results Setting GRADLE_3_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_3.4-rc-2 Setting GRADLE_3_4_RC_2_HOME=/home/jenkins/jenkins-slave/tools/hudson.plugins.gradle.GradleInstallation/Gradle_3.4-rc-2 Not sending mail to unregistered user ism...@juma.me.uk