You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/02/06 19:57:31 UTC
Build failed in Jenkins: kafka-trunk-jdk8 #2393
See <https://builds.apache.org/job/kafka-trunk-jdk8/2393/display/redirect?page=changes>
Changes:
[junrao] KAFKA-6184; report a metric of the lag between the consumer offset ...
[wangguoz] MINOR: exchange redundant Collections.addAll with parameterized
------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H32 (ubuntu xenial) in workspace <https://builds.apache.org/job/kafka-trunk-jdk8/ws/>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/apache/kafka.git # timeout=10
Fetching upstream changes from https://github.com/apache/kafka.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/apache/kafka.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/trunk^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/trunk^{commit} # timeout=10
Checking out Revision c32860b22427ca32a9e83e4f741b85062bb22140 (refs/remotes/origin/trunk)
> git config core.sparsecheckout # timeout=10
> git checkout -f c32860b22427ca32a9e83e4f741b85062bb22140
Commit message: "MINOR: exchange redundant Collections.addAll with parameterized constructor (#4521)"
> git rev-list 6541ab199395bfb06a7a020f7ab76d70855006c2 # timeout=10
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5
[kafka-trunk-jdk8] $ /bin/bash -xe /tmp/jenkins5561877255367178042.sh
+ rm -rf <https://builds.apache.org/job/kafka-trunk-jdk8/ws/.gradle>
+ /home/jenkins/tools/gradle/3.5/bin/gradle
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/3.5/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
Building project 'core' with Scala version 2.11.12
Cleaned up directory '<https://builds.apache.org/job/kafka-trunk-jdk8/ws/connect/json/build/resources/test'>
Cleaned up directory '<https://builds.apache.org/job/kafka-trunk-jdk8/ws/core/build/resources/test'>
Cleaned up directory '<https://builds.apache.org/job/kafka-trunk-jdk8/ws/connect/runtime/build/resources/test'>
Cleaned up directory '<https://builds.apache.org/job/kafka-trunk-jdk8/ws/streams/build/resources/test'>
Cleaned up directory '<https://builds.apache.org/job/kafka-trunk-jdk8/ws/tools/build/resources/test'>
Cleaned up directory '<https://builds.apache.org/job/kafka-trunk-jdk8/ws/clients/build/resources/test'>
:downloadWrapper
BUILD SUCCESSFUL
Total time: 15.21 secs
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5
[kafka-trunk-jdk8] $ /bin/bash -xe /tmp/jenkins179442398234768180.sh
+ export GRADLE_OPTS=-Xmx1024m
+ GRADLE_OPTS=-Xmx1024m
+ ./gradlew --no-daemon -PmaxParallelForks=1 -PtestLoggingEvents=started,passed,skipped,failed -PxmlFindBugsReport=true 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/4.4.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.11.12
:clean
:clients:clean
:connect:clean UP-TO-DATE
:core:clean
:examples:clean
:jmh-benchmarks: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
:streams:test-utils:clean
:test_core_2_11
Building project 'core' with Scala version 2.11.12
:kafka-trunk-jdk8:clients:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/clients/src/main/java/org/apache/kafka/common/security/authenticator/CredentialCache.java>:27: warning: [unchecked] unchecked cast
Cache<C> oldCache = (Cache<C>) cacheMap.putIfAbsent(mechanism, cache);
^
required: Cache<C>
found: Cache<CAP#1>
where C is a type-variable:
C extends Object declared in method <C>createCache(String,Class<C>)
where CAP#1 is a fresh type-variable:
CAP#1 extends Object from capture of ? extends Object
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/clients/src/main/java/org/apache/kafka/common/network/ChannelBuilders.java>:113: warning: [unchecked] unchecked cast
List<String> enabledMechanisms = (List<String>) configs.get(BrokerSecurityConfigs.SASL_ENABLED_MECHANISMS_CONFIG);
^
required: List<String>
found: CAP#1
where CAP#1 is a fresh type-variable:
CAP#1 extends Object from capture of ?
3 warnings
:kafka-trunk-jdk8:clients:processResources NO-SOURCE
:kafka-trunk-jdk8:clients:classes
:kafka-trunk-jdk8:clients:determineCommitId UP-TO-DATE
:kafka-trunk-jdk8:clients:createVersionFile
:kafka-trunk-jdk8:clients:jar
:kafka-trunk-jdk8:clients:compileTestJavawarning: [options] bootstrap class path not set in conjunction with -source 1.7
<https://builds.apache.org/job/kafka-trunk-jdk8/ws/clients/src/test/java/org/apache/kafka/clients/consumer/internals/FetcherTest.java>:2186: error: no suitable constructor found for FetchResponse(LinkedHashMap<TopicPartition,PartitionData>,int)
return new FetchResponse(new LinkedHashMap<>(partitions), throttleTime);
^
constructor FetchResponse.FetchResponse(Errors,LinkedHashMap<TopicPartition,PartitionData>,int,int) is not applicable
(actual and formal argument lists differ in length)
constructor FetchResponse.FetchResponse(Struct) is not applicable
(actual and formal argument lists differ in length)
Note: <https://builds.apache.org/job/kafka-trunk-jdk8/ws/clients/src/test/java/org/apache/kafka/common/network/ChannelBuildersTest.java> uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
1 warning
FAILED
:test_core_2_11 FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':kafka-trunk-jdk8:clients:compileTestJava'.
> Compilation failed; see the compiler error output for details.
* 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
BUILD FAILED in 30s
17 actionable tasks: 16 executed, 1 up-to-date
Build step 'Execute shell' marked build as failure
[FINDBUGS] Collecting findbugs analysis files...
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/kafka-trunk-jdk8/ws/> that match the pattern **/build/reports/findbugs/*.xml
[FINDBUGS] No files found. Configuration error?
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
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=c32860b22427ca32a9e83e4f741b85062bb22140, workspace=<https://builds.apache.org/job/kafka-trunk-jdk8/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2391
Recording test results
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5
Not sending mail to unregistered user wangguoz@gmail.com
Jenkins build is back to normal : kafka-trunk-jdk8 #2395
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/kafka-trunk-jdk8/2395/display/redirect?page=changes>
Build failed in Jenkins: kafka-trunk-jdk8 #2394
Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/kafka-trunk-jdk8/2394/display/redirect?page=changes>
Changes:
[github] KAFKA-4750: Bypass null value and treat it as deletes (#4508)
[junrao] Minor: fix compilation error in KAFKA-6254
------------------------------------------
[...truncated 413.67 KB...]
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:<1791> but was:<1794>
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
1857 tests completed, 1 failed, 6 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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1h 5m 53s
17 actionable tasks: 3 executed, 14 up-to-date
Build step 'Execute shell' marked build as failure
[FINDBUGS] Collecting findbugs analysis files...
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5
[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.
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
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=caf03d642b6992bf95b922f0cb5f724d265d4029, workspace=<https://builds.apache.org/job/kafka-trunk-jdk8/ws/>
[FINDBUGS] Computing warning deltas based on reference build #2391
Recording test results
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_3_5_HOME=/home/jenkins/tools/gradle/3.5
Not sending mail to unregistered user github@alasdairhodge.co.uk
Not sending mail to unregistered user wangguoz@gmail.com