See <https://builds.apache.org/job/kafka-trunk-jdk7/3266/display/redirect?page=changes>
Changes: [jason] MINOR: Remove unnecessary null checks (#4708) ------------------------------------------ [...truncated 416.32 KB...] kafka.server.epoch.LeaderEpochFileCacheTest > shouldPersistEpochsBetweenInstances STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldPersistEpochsBetweenInstances PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldNotClearAnythingIfOffsetToFirstOffset STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldNotClearAnythingIfOffsetToFirstOffset PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldNotLetOffsetsGoBackwardsEvenIfEpochsProgress STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldNotLetOffsetsGoBackwardsEvenIfEpochsProgress PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldGetFirstOffsetOfSubsequentEpochWhenOffsetRequestedForPreviousEpoch STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldGetFirstOffsetOfSubsequentEpochWhenOffsetRequestedForPreviousEpoch PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldUpdateOffsetBetweenEpochBoundariesOnClearEarliest2 STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldUpdateOffsetBetweenEpochBoundariesOnClearEarliest2 PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldClearEarliestOnEmptyCache STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldClearEarliestOnEmptyCache PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldPreserveResetOffsetOnClearEarliestIfOneExists STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldPreserveResetOffsetOnClearEarliestIfOneExists PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldUpdateOffsetBetweenEpochBoundariesOnClearEarliest STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldUpdateOffsetBetweenEpochBoundariesOnClearEarliest PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldReturnInvalidOffsetIfEpochIsRequestedWhichIsNotCurrentlyTracked STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldReturnInvalidOffsetIfEpochIsRequestedWhichIsNotCurrentlyTracked PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldFetchEndOffsetOfEmptyCache STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldFetchEndOffsetOfEmptyCache PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldRetainLatestEpochOnClearAllEarliestAndUpdateItsOffset STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldRetainLatestEpochOnClearAllEarliestAndUpdateItsOffset PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldClearAllEntries STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldClearAllEntries PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldClearLatestOnEmptyCache STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldClearLatestOnEmptyCache PASSED kafka.server.epoch.LeaderEpochFileCacheTest > shouldNotResetEpochHistoryHeadIfUndefinedPassed STARTED kafka.server.epoch.LeaderEpochFileCacheTest > shouldNotResetEpochHistoryHeadIfUndefinedPassed PASSED kafka.server.epoch.LeaderEpochIntegrationTest > shouldIncreaseLeaderEpochBetweenLeaderRestarts STARTED kafka.server.epoch.LeaderEpochIntegrationTest > shouldIncreaseLeaderEpochBetweenLeaderRestarts PASSED kafka.server.epoch.LeaderEpochIntegrationTest > shouldAddCurrentLeaderEpochToMessagesAsTheyAreWrittenToLeader STARTED kafka.server.epoch.LeaderEpochIntegrationTest > shouldAddCurrentLeaderEpochToMessagesAsTheyAreWrittenToLeader PASSED kafka.server.epoch.LeaderEpochIntegrationTest > shouldSendLeaderEpochRequestAndGetAResponse STARTED kafka.server.epoch.LeaderEpochIntegrationTest > shouldSendLeaderEpochRequestAndGetAResponse PASSED kafka.server.epoch.OffsetsForLeaderEpochTest > shouldGetEpochsFromReplica STARTED kafka.server.epoch.OffsetsForLeaderEpochTest > shouldGetEpochsFromReplica PASSED kafka.server.epoch.OffsetsForLeaderEpochTest > shouldReturnUnknownTopicOrPartitionIfThrown STARTED kafka.server.epoch.OffsetsForLeaderEpochTest > shouldReturnUnknownTopicOrPartitionIfThrown PASSED kafka.server.epoch.OffsetsForLeaderEpochTest > shouldReturnNoLeaderForPartitionIfThrown STARTED kafka.server.epoch.OffsetsForLeaderEpochTest > shouldReturnNoLeaderForPartitionIfThrown PASSED kafka.server.epoch.EpochDrivenReplicationProtocolAcceptanceTest > shouldSurviveFastLeaderChange STARTED kafka.server.epoch.EpochDrivenReplicationProtocolAcceptanceTest > shouldSurviveFastLeaderChange PASSED kafka.server.epoch.EpochDrivenReplicationProtocolAcceptanceTest > offsetsShouldNotGoBackwards STARTED kafka.server.epoch.EpochDrivenReplicationProtocolAcceptanceTest > offsetsShouldNotGoBackwards PASSED kafka.server.epoch.EpochDrivenReplicationProtocolAcceptanceTest > shouldFollowLeaderEpochBasicWorkflow STARTED kafka.server.epoch.EpochDrivenReplicationProtocolAcceptanceTest > shouldFollowLeaderEpochBasicWorkflow PASSED kafka.server.epoch.EpochDrivenReplicationProtocolAcceptanceTest > shouldNotAllowDivergentLogs STARTED kafka.server.epoch.EpochDrivenReplicationProtocolAcceptanceTest > shouldNotAllowDivergentLogs PASSED kafka.server.MultipleListenersWithAdditionalJaasContextTest > testProduceConsume STARTED kafka.server.MultipleListenersWithAdditionalJaasContextTest > testProduceConsume PASSED kafka.server.OffsetCommitTest > testUpdateOffsets STARTED kafka.server.OffsetCommitTest > testUpdateOffsets PASSED kafka.server.OffsetCommitTest > testLargeMetadataPayload STARTED kafka.server.OffsetCommitTest > testLargeMetadataPayload PASSED kafka.server.OffsetCommitTest > testOffsetsDeleteAfterTopicDeletion STARTED kafka.server.OffsetCommitTest > testOffsetsDeleteAfterTopicDeletion PASSED kafka.server.OffsetCommitTest > testCommitAndFetchOffsets STARTED kafka.server.OffsetCommitTest > testCommitAndFetchOffsets PASSED kafka.server.OffsetCommitTest > testOffsetExpiration STARTED kafka.server.OffsetCommitTest > testOffsetExpiration PASSED kafka.server.OffsetCommitTest > testNonExistingTopicOffsetCommit STARTED kafka.server.OffsetCommitTest > testNonExistingTopicOffsetCommit PASSED kafka.server.ReplicationQuotasTest > shouldBootstrapTwoBrokersWithLeaderThrottle STARTED kafka.server.ReplicationQuotasTest > shouldBootstrapTwoBrokersWithLeaderThrottle PASSED kafka.server.ReplicationQuotasTest > shouldThrottleOldSegments STARTED kafka.server.ReplicationQuotasTest > shouldThrottleOldSegments PASSED kafka.server.ReplicationQuotasTest > shouldBootstrapTwoBrokersWithFollowerThrottle STARTED kafka.server.ReplicationQuotasTest > shouldBootstrapTwoBrokersWithFollowerThrottle PASSED kafka.server.EdgeCaseRequestTest > testInvalidApiVersionRequest STARTED kafka.server.EdgeCaseRequestTest > testInvalidApiVersionRequest PASSED kafka.server.EdgeCaseRequestTest > testMalformedHeaderRequest STARTED kafka.server.EdgeCaseRequestTest > testMalformedHeaderRequest PASSED kafka.server.EdgeCaseRequestTest > testProduceRequestWithNullClientId STARTED kafka.server.EdgeCaseRequestTest > testProduceRequestWithNullClientId PASSED kafka.server.EdgeCaseRequestTest > testInvalidApiKeyRequest STARTED kafka.server.EdgeCaseRequestTest > testInvalidApiKeyRequest PASSED kafka.server.EdgeCaseRequestTest > testHeaderOnlyRequest STARTED kafka.server.EdgeCaseRequestTest > testHeaderOnlyRequest PASSED kafka.server.SaslApiVersionsRequestTest > testApiVersionsRequestWithUnsupportedVersion STARTED kafka.server.SaslApiVersionsRequestTest > testApiVersionsRequestWithUnsupportedVersion PASSED kafka.server.SaslApiVersionsRequestTest > testApiVersionsRequestBeforeSaslHandshakeRequest STARTED kafka.server.SaslApiVersionsRequestTest > testApiVersionsRequestBeforeSaslHandshakeRequest PASSED kafka.server.SaslApiVersionsRequestTest > testApiVersionsRequestAfterSaslHandshakeRequest STARTED kafka.server.SaslApiVersionsRequestTest > testApiVersionsRequestAfterSaslHandshakeRequest PASSED kafka.metrics.MetricsTest > testMetricsReporterAfterDeletingTopic STARTED kafka.metrics.MetricsTest > testMetricsReporterAfterDeletingTopic PASSED kafka.metrics.MetricsTest > testSessionExpireListenerMetrics STARTED kafka.metrics.MetricsTest > testSessionExpireListenerMetrics PASSED kafka.metrics.MetricsTest > testBrokerTopicMetricsUnregisteredAfterDeletingTopic STARTED kafka.metrics.MetricsTest > testBrokerTopicMetricsUnregisteredAfterDeletingTopic PASSED kafka.metrics.MetricsTest > testClusterIdMetric STARTED kafka.metrics.MetricsTest > testClusterIdMetric PASSED kafka.metrics.MetricsTest > testControllerMetrics STARTED kafka.metrics.MetricsTest > testControllerMetrics PASSED kafka.metrics.MetricsTest > testWindowsStyleTagNames STARTED kafka.metrics.MetricsTest > testWindowsStyleTagNames PASSED kafka.metrics.MetricsTest > testMetricsLeak STARTED kafka.metrics.MetricsTest > testMetricsLeak FAILED java.lang.AssertionError: expected:<1782> but was:<1785> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at kafka.metrics.MetricsTest$$anonfun$testMetricsLeak$1.apply$mcVI$sp(MetricsTest.scala:68) at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:160) at kafka.metrics.MetricsTest.testMetricsLeak(MetricsTest.scala:66) kafka.metrics.MetricsTest > testBrokerTopicMetricsBytesInOut STARTED kafka.metrics.MetricsTest > testBrokerTopicMetricsBytesInOut PASSED kafka.metrics.KafkaTimerTest > testKafkaTimer STARTED kafka.metrics.KafkaTimerTest > testKafkaTimer PASSED 1895 tests completed, 1 failed, 6 skipped :kafka-trunk-jdk7:core:test FAILED :test_core_2_11 FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':kafka-trunk-jdk7:core:test'. > There were failing tests. See the report at: > file://<https://builds.apache.org/job/kafka-trunk-jdk7/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. Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. See https://docs.gradle.org/4.5.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 54m 42s 17 actionable tasks: 3 executed, 14 up-to-date Build step 'Execute shell' marked build as failure [FINDBUGS] Collecting findbugs analysis files... Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5 [FINDBUGS] Searching for all files in <https://builds.apache.org/job/kafka-trunk-jdk7/ws/> that match the pattern **/build/reports/findbugs/*.xml [FINDBUGS] Parsing 1 file in <https://builds.apache.org/job/kafka-trunk-jdk7/ws/> [FINDBUGS] Successfully parsed file <https://builds.apache.org/job/kafka-trunk-jdk7/ws/core/build/reports/findbugs/main.xml> with 0 unique warnings and 0 duplicates. Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5 Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5 <Git Blamer> Using GitBlamer to create author and commit information for all warnings. <Git Blamer> GIT_COMMIT=2afac715666347a30ac54cef1485db369288b478, workspace=<https://builds.apache.org/job/kafka-trunk-jdk7/ws/> [FINDBUGS] Computing warning deltas based on reference build #3261 Recording test results Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5 Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5 Not sending mail to unregistered user git...@alasdairhodge.co.uk Not sending mail to unregistered user rajinisiva...@googlemail.com