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/05/22 07:13:13 UTC

Build failed in Jenkins: kafka-trunk-jdk10 #124

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

Changes:

[github] KAFKA-4423: Drop support for Java 7 (KIP-118) and update deps (#5046)

------------------------------------------
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-jdk10/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 e70a191d3038e00790aa95fbd1e16e78c32b79a4 (refs/remotes/origin/trunk)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e70a191d3038e00790aa95fbd1e16e78c32b79a4
Commit message: "KAFKA-4423: Drop support for Java 7 (KIP-118) and update deps (#5046)"
 > git rev-list --no-walk 95b46a12e5a74da2699b3472c639cc82b28cea96 # timeout=10
Setting GRADLE_4_4_HOME=/home/jenkins/tools/gradle/4.4
[kafka-trunk-jdk10] $ /bin/bash -xe /tmp/jenkins526723461618884253.sh
+ rm -rf <https://builds.apache.org/job/kafka-trunk-jdk10/ws/.gradle>
+ /home/jenkins/tools/gradle/4.4/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.4.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
Download https://repo.maven.apache.org/maven2/org/owasp/dependency-check-gradle/3.1.2/dependency-check-gradle-3.1.2.pom
Download https://repo.maven.apache.org/maven2/org/scoverage/gradle-scoverage/2.3.0/gradle-scoverage-2.3.0.pom
Download https://jcenter.bintray.com/com/github/jengelman/gradle/plugins/shadow/2.0.4/shadow-2.0.4.pom
Download https://repo.maven.apache.org/maven2/org/owasp/dependency-check-core/3.1.2/dependency-check-core-3.1.2.pom
Download https://repo.maven.apache.org/maven2/org/owasp/dependency-check-utils/3.1.2/dependency-check-utils-3.1.2.pom
Download https://repo.maven.apache.org/maven2/org/owasp/dependency-check-parent/3.1.2/dependency-check-parent-3.1.2.pom
Download https://repo.maven.apache.org/maven2/com/sun/mail/mailapi/1.6.1/mailapi-1.6.1.pom
Download https://repo.maven.apache.org/maven2/com/sun/mail/all/1.6.1/all-1.6.1.pom
Download https://repo.maven.apache.org/maven2/org/scoverage/gradle-scoverage/2.3.0/gradle-scoverage-2.3.0.jar
Download https://repo.maven.apache.org/maven2/org/owasp/dependency-check-gradle/3.1.2/dependency-check-gradle-3.1.2.jar
Download https://repo.maven.apache.org/maven2/org/owasp/dependency-check-core/3.1.2/dependency-check-core-3.1.2.jar
Download https://repo.maven.apache.org/maven2/org/owasp/dependency-check-utils/3.1.2/dependency-check-utils-3.1.2.jar
Download https://repo.maven.apache.org/maven2/com/sun/mail/mailapi/1.6.1/mailapi-1.6.1.jar
Download https://jcenter.bintray.com/com/github/jengelman/gradle/plugins/shadow/2.0.4/shadow-2.0.4.jar
Building project 'core' with Scala version 2.11.12
Building project 'streams-scala' with Scala version 2.11.12
:downloadWrapper

BUILD SUCCESSFUL in 22s
1 actionable task: 1 executed
Setting GRADLE_4_4_HOME=/home/jenkins/tools/gradle/4.4
[kafka-trunk-jdk10] $ /bin/bash -xe /tmp/jenkins6340457244796462496.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
Downloading https://services.gradle.org/distributions/gradle-4.7-bin.zip
.......................................................................
Unzipping /home/jenkins/.gradle/wrapper/dists/gradle-4.7-bin/73xux3q4721jgr4pjvqf9o30/gradle-4.7-bin.zip to /home/jenkins/.gradle/wrapper/dists/gradle-4.7-bin/73xux3q4721jgr4pjvqf9o30
Set executable permissions for: /home/jenkins/.gradle/wrapper/dists/gradle-4.7-bin/73xux3q4721jgr4pjvqf9o30/gradle-4.7/bin/gradle

Welcome to Gradle 4.7!

Here are the highlights of this release:
 - Incremental annotation processing
 - JDK 10 support
 - Grouped non-interactive console logs
 - Failed tests are re-run first for quicker feedback

For more details see https://docs.gradle.org/4.7/release-notes.html

To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.7/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

> Configure project :
Building project 'core' with Scala version 2.12.6
Building project 'streams-scala' with Scala version 2.12.6

> Task :clean
> Task :clients:clean
> Task :connect:clean UP-TO-DATE
> Task :core:clean
> Task :examples:clean
> Task :jmh-benchmarks:clean
> Task :log4j-appender:clean
> Task :streams:clean
> Task :tools:clean
> Task :connect:api:clean
> Task :connect:file:clean
> Task :connect:json:clean
> Task :connect:runtime:clean
> Task :connect:transforms:clean
> Task :streams:examples:clean
> Task :streams:streams-scala:clean
> Task :streams:test-utils:clean
> Task :streams:upgrade-system-tests-0100:clean
> Task :streams:upgrade-system-tests-0101:clean
> Task :streams:upgrade-system-tests-0102:clean
> Task :streams:upgrade-system-tests-0110:clean
> Task :streams:upgrade-system-tests-10:clean
> Task :streams:upgrade-system-tests-11:clean
> Task :compileJava NO-SOURCE
> Task :processResources NO-SOURCE
> Task :classes UP-TO-DATE

> Task :rat
Rat report: build/rat/rat-report.html

> Task :compileTestJava NO-SOURCE
> Task :processTestResources NO-SOURCE
> Task :testClasses UP-TO-DATE
> Task :test NO-SOURCE

> Task :clients:compileJava
<https://builds.apache.org/job/kafka-trunk-jdk10/ws/clients/src/main/java/org/apache/kafka/common/network/SaslChannelBuilder.java>:272: warning: [unchecked] unchecked cast
        Class<? extends AuthenticateCallbackHandler> clazz = (Class<? extends AuthenticateCallbackHandler>) configs.get(SaslConfigs.SASL_CLIENT_CALLBACK_HANDLER_CLASS);
                                                                                                                       ^
  required: Class<? extends AuthenticateCallbackHandler>
  found:    CAP#1
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Object from capture of ?
<https://builds.apache.org/job/kafka-trunk-jdk10/ws/clients/src/main/java/org/apache/kafka/common/network/SaslChannelBuilder.java>:284: warning: [unchecked] unchecked cast
                    (Class<? extends AuthenticateCallbackHandler>) configs.get(prefix + BrokerSecurityConfigs.SASL_SERVER_CALLBACK_HANDLER_CLASS);
                                                                              ^
  required: Class<? extends AuthenticateCallbackHandler>
  found:    CAP#1
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Object from capture of ?
<https://builds.apache.org/job/kafka-trunk-jdk10/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-jdk10/ws/clients/src/main/java/org/apache/kafka/common/security/authenticator/LoginManager.java>:182: warning: [unchecked] unchecked cast
        Class<? extends T> clazz = (Class<? extends T>) configs.get(prefix + configName);
                                                                   ^
  required: Class<? extends T>
  found:    CAP#1
  where T is a type-variable:
    T extends Object declared in method <T>configuredClassOrDefault(Map<String,?>,JaasContext,String,String,Class<? extends T>)
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Object from capture of ?
<https://builds.apache.org/job/kafka-trunk-jdk10/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 ?
<https://builds.apache.org/job/kafka-trunk-jdk10/ws/clients/src/main/java/org/apache/kafka/common/security/authenticator/SaslClientCallbackHandler.java>:83: warning: [unchecked] unchecked cast
                    sc.extensions((Map<String, String>) subject.getPublicCredentials(Map.class).iterator().next());
                                                                                                               ^
  required: Map<String,String>
  found:    Map
6 warnings

> Task :clients:processResources NO-SOURCE
> Task :clients:classes
Download https://repo.maven.apache.org/maven2/com/puppycrawl/tools/checkstyle/8.10/checkstyle-8.10.pom
Download https://repo.maven.apache.org/maven2/com/google/guava/guava/24.1-jre/guava-24.1-jre.pom
Download https://repo.maven.apache.org/maven2/net/sf/saxon/Saxon-HE/9.8.0-11/Saxon-HE-9.8.0-11.pom
Download https://repo.maven.apache.org/maven2/com/google/guava/guava-parent/24.1-jre/guava-parent-24.1-jre.pom
Download https://repo.maven.apache.org/maven2/com/puppycrawl/tools/checkstyle/8.10/checkstyle-8.10.jar
Download https://repo.maven.apache.org/maven2/net/sf/saxon/Saxon-HE/9.8.0-11/Saxon-HE-9.8.0-11.jar
Download https://repo.maven.apache.org/maven2/com/google/guava/guava/24.1-jre/guava-24.1-jre.jar

> Task :clients:checkstyleMain
[ant:checkstyle] [ERROR] <https://builds.apache.org/job/kafka-trunk-jdk10/ws/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java>:562:9: NPath Complexity is 648 (max allowed is 500). [NPathComplexity]

> Task :clients:checkstyleMain FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':clients:checkstyleMain'.
> Checkstyle rule violations were found. See the report at: file://<https://builds.apache.org/job/kafka-trunk-jdk10/ws/clients/build/reports/checkstyle/main.html>
  Checkstyle files with violations: 1
  Checkstyle violations by severity: [error:1]


* 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 1m 1s
26 actionable tasks: 25 executed, 1 up-to-date
Build step 'Execute shell' marked build as failure
Recording test results
Setting GRADLE_4_4_HOME=/home/jenkins/tools/gradle/4.4
ERROR: Step ?Publish JUnit test result report? failed: No test report files were found. Configuration error?
Setting GRADLE_4_4_HOME=/home/jenkins/tools/gradle/4.4
Not sending mail to unregistered user github@alasdairhodge.co.uk

Jenkins build is back to normal : kafka-trunk-jdk10 #125

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/kafka-trunk-jdk10/125/display/redirect?page=changes>