See 
<https://builds.apache.org/job/kafka-trunk-jdk9/371/display/redirect?page=changes>

Changes:

[wangguoz] MINOR:  exchange redundant Collections.addAll with parameterized

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H30 (ubuntu xenial) in workspace 
<https://builds.apache.org/job/kafka-trunk-jdk9/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 7c97b239a5261cf030984f71427287196e657d95 # timeout=10
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_4_3_HOME=/home/jenkins/tools/gradle/4.3
[kafka-trunk-jdk9] $ /bin/bash -xe /tmp/jenkins7819228861449941943.sh
+ rm -rf <https://builds.apache.org/job/kafka-trunk-jdk9/ws/.gradle>
+ /home/jenkins/tools/gradle/4.3/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/4.3.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
:downloadWrapper

BUILD SUCCESSFUL in 17s
1 actionable task: 1 executed
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_4_3_HOME=/home/jenkins/tools/gradle/4.3
[kafka-trunk-jdk9] $ /bin/bash -xe /tmp/jenkins956829766802586991.sh
+ export GRADLE_OPTS=-Xmx1024m
+ GRADLE_OPTS=-Xmx1024m
+ ./gradlew --no-daemon -PmaxParallelForks=1 
-PtestLoggingEvents=started,passed,skipped,failed -PxmlFindBugsReport=true 
clean test -PscalaVersion=2.12
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.12.4
: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
:compileJava NO-SOURCE
:processResources NO-SOURCE
:classes UP-TO-DATE
:rat
Rat report: build/rat/rat-report.html
:compileTestJava NO-SOURCE
:processTestResources NO-SOURCE
:testClasses UP-TO-DATE
:test NO-SOURCE
:clients:compileJava<https://builds.apache.org/job/kafka-trunk-jdk9/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-jdk9/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 ?
2 warnings

:clients:processResources NO-SOURCE
:clients:classes
:clients:checkstyleMain
:clients:compileTestJava<https://builds.apache.org/job/kafka-trunk-jdk9/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-jdk9/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
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':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 47s
20 actionable tasks: 19 executed, 1 up-to-date
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: No tool found matching GRADLE_3_4_RC_2_HOME
Setting GRADLE_4_3_HOME=/home/jenkins/tools/gradle/4.3
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_4_3_HOME=/home/jenkins/tools/gradle/4.3
Not sending mail to unregistered user wangg...@gmail.com

Reply via email to