kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: kafka-2.1-jdk8 #163
Date Wed, 17 Apr 2019 02:33:08 GMT
See <https://builds.apache.org/job/kafka-2.1-jdk8/163/display/redirect?page=changes>

Changes:

[matthias] MINOR: fixed missing close of Iterator, used try-with-resource where

------------------------------------------
[...truncated 762.76 KB...]

> Task :connect:file:spotbugsMain

> Task :connect:runtime:compileJava
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/DelegatingClassLoader.java>:154:
warning: [unchecked] unchecked method invocation: method doPrivileged in class AccessController
is applied to given types
        return (PluginClassLoader) AccessController.doPrivileged(
                                                                ^
  required: PrivilegedAction<T>
  found: <anonymous PrivilegedAction>
  where T is a type-variable:
    T extends Object declared in method <T>doPrivileged(PrivilegedAction<T>)
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/DelegatingClassLoader.java>:155:
warning: [unchecked] unchecked conversion
                new PrivilegedAction() {
                ^
  required: PrivilegedAction<T>
  found:    <anonymous PrivilegedAction>
  where T is a type-variable:
    T extends Object declared in method <T>doPrivileged(PrivilegedAction<T>)
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/DelegatingClassLoader.java>:338:
warning: [unchecked] unchecked cast
            result.add(new PluginDesc<>((Class<? extends T>) pluginImpl.getClass(),
versionFor(pluginImpl), loader));
                                                                                ^
  required: Class<? extends T>
  found:    Class<CAP#1>
  where T is a type-variable:
    T extends Object declared in method <T>getServiceLoaderPluginDesc(Class<T>,ClassLoader)
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Object from capture of ? extends Object
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/Plugins.java>:65:
warning: [unchecked] unchecked method invocation: method doPrivileged in class AccessController
is applied to given types
        return (DelegatingClassLoader) AccessController.doPrivileged(
                                                                    ^
  required: PrivilegedAction<T>
  found: <anonymous PrivilegedAction>
  where T is a type-variable:
    T extends Object declared in method <T>doPrivileged(PrivilegedAction<T>)
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/Plugins.java>:66:
warning: [unchecked] unchecked conversion
                new PrivilegedAction() {
                ^
  required: PrivilegedAction<T>
  found:    <anonymous PrivilegedAction>
  where T is a type-variable:
    T extends Object declared in method <T>doPrivileged(PrivilegedAction<T>)
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/Plugins.java>:106:
warning: [deprecation] INTERNAL_KEY_CONVERTER_CLASS_CONFIG in WorkerConfig has been deprecated
        return classPropertyName.equals(WorkerConfig.INTERNAL_KEY_CONVERTER_CLASS_CONFIG)
                                                    ^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/Plugins.java>:107:
warning: [deprecation] INTERNAL_VALUE_CONVERTER_CLASS_CONFIG in WorkerConfig has been deprecated
            || classPropertyName.equals(WorkerConfig.INTERNAL_VALUE_CONVERTER_CLASS_CONFIG);
                                                    ^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/Plugins.java>:247:
warning: [deprecation] INTERNAL_KEY_CONVERTER_CLASS_CONFIG in WorkerConfig has been deprecated
                                     || WorkerConfig.INTERNAL_KEY_CONVERTER_CLASS_CONFIG.equals(classPropertyName);
                                                    ^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/ConnectorConfig.java>:168:
warning: [unchecked] unchecked cast
                        final List<String> transformAliases = (List<String>) value;
                                                                             ^
  required: List<String>
  found:    Object
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/ConnectorConfig.java>:253:
warning: [unchecked] unchecked conversion
                transformation = getClass(prefix + "type").asSubclass(Transformation.class).newInstance();
                                                                                         
             ^
  required: Transformation<R>
  found:    CAP#1
  where R is a type-variable:
    R extends ConnectRecord<R> declared in method <R>transformations()
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Transformation from capture of ? extends Transformation
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/storage/OffsetStorageWriter.java>:93:
warning: [unchecked] unchecked cast
        data.put((Map<String, Object>) partition, (Map<String, Object>) offset);
                                       ^
  required: Map<String,Object>
  found:    Map<String,CAP#1>
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Object from capture of ?
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/storage/OffsetStorageWriter.java>:93:
warning: [unchecked] unchecked cast
        data.put((Map<String, Object>) partition, (Map<String, Object>) offset);
                                                                        ^
  required: Map<String,Object>
  found:    Map<String,CAP#1>
  where CAP#1 is a fresh type-variable:
    CAP#1 extends Object from capture of ?
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/RestServer.java>:81:
warning: [unchecked] unchecked conversion
    private List<ConnectRestExtension> connectRestExtensions = Collections.EMPTY_LIST;
                                                                          ^
  required: List<ConnectRestExtension>
  found:    List
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/RestServer.java>:99:
warning: [deprecation] REST_HOST_NAME_CONFIG in WorkerConfig has been deprecated
            String hostname = config.getString(WorkerConfig.REST_HOST_NAME_CONFIG);
                                                           ^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/RestServer.java>:104:
warning: [deprecation] REST_PORT_CONFIG in WorkerConfig has been deprecated
            listeners = Collections.singletonList(String.format("%s://%s:%d", PROTOCOL_HTTP,
hostname, config.getInt(WorkerConfig.REST_PORT_CONFIG)));
                                                                                         
                                       ^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/util/SSLUtils.java>:108:
warning: [unchecked] unchecked cast
        List<String> sslEnabledProtocols = (List<String>) getOrDefault(sslConfigValues,
SslConfigs.SSL_ENABLED_PROTOCOLS_CONFIG, Arrays.asList(COMMA_WITH_WHITESPACE.split(SslConfigs.DEFAULT_SSL_ENABLED_PROTOCOLS)));
                                                                      ^
  required: List<String>
  found:    Object
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/util/SSLUtils.java>:117:
warning: [unchecked] unchecked cast
        List<String> sslCipherSuites = (List<String>) sslConfigValues.get(SslConfigs.SSL_CIPHER_SUITES_CONFIG);
                                                                         ^
  required: List<String>
  found:    Object
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/ConnectRestConfigurable.java>:78:
warning: [unchecked] unchecked method invocation: method register in class ResourceConfig
is applied to given types
            resourceConfig.register(component, contracts);
                                   ^
  required: Object,Map<Class<?>,Integer>
  found: Object,Map
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/ConnectRestConfigurable.java>:78:
warning: [unchecked] unchecked conversion
            resourceConfig.register(component, contracts);
                                               ^
  required: Map<Class<?>,Integer>
  found:    Map
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/ConnectRestConfigurable.java>:94:
warning: [unchecked] unchecked method invocation: method register in class ResourceConfig
is applied to given types
            resourceConfig.register(componentClass, contracts);
                                   ^
  required: Class<?>,Map<Class<?>,Integer>
  found: Class,Map
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/rest/ConnectRestConfigurable.java>:94:
warning: [unchecked] unchecked conversion
            resourceConfig.register(componentClass, contracts);
                                                    ^
  required: Map<Class<?>,Integer>
  found:    Map
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/connect/runtime/src/main/java/org/apache/kafka/connect/converters/NumberConverter.java>:90:
warning: [unchecked] unchecked cast
        return (T) value;
                   ^
  required: T
  found:    Object
  where T is a type-variable:
    T extends Number declared in class NumberConverter
22 warnings

> Task :connect:runtime:processResources NO-SOURCE
> Task :connect:runtime:classes
> Task :connect:json:spotbugsMain
> Task :connect:runtime:checkstyleMain

> Task :connect:runtime:compileTestJava
Note: Some input files use or override 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.

> Task :connect:runtime:processTestResources
> Task :connect:runtime:testClasses
> Task :connect:runtime:checkstyleTest
> Task :connect:transforms:checkstyleMain

> Task :connect:transforms:compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :connect:transforms:processTestResources NO-SOURCE
> Task :connect:transforms:testClasses
> Task :connect:transforms:checkstyleTest

> Task :streams:examples:compileJava
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/streams/examples/src/main/java/org/apache/kafka/streams/examples/pageview/PageViewTypedDemo.java>:36:
warning: [deprecation] Serialized in org.apache.kafka.streams.kstream has been deprecated
import org.apache.kafka.streams.kstream.Serialized;
                                       ^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/streams/examples/src/main/java/org/apache/kafka/streams/examples/pageview/PageViewUntypedDemo.java>:38:
warning: [deprecation] Serialized in org.apache.kafka.streams.kstream has been deprecated
import org.apache.kafka.streams.kstream.Serialized;
                                       ^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/streams/examples/src/main/java/org/apache/kafka/streams/examples/pageview/PageViewTypedDemo.java>:209:
warning: [deprecation] Serialized in org.apache.kafka.streams.kstream has been deprecated
            .groupByKey(Serialized.with(Serdes.String(), new JSONSerde<>()))
                        ^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/streams/examples/src/main/java/org/apache/kafka/streams/examples/pageview/PageViewTypedDemo.java>:209:
warning: [deprecation] groupByKey(Serialized<K,V>) in KStream has been deprecated
            .groupByKey(Serialized.with(Serdes.String(), new JSONSerde<>()))
            ^
  where K,V are type-variables:
    K extends Object declared in interface KStream
    V extends Object declared in interface KStream
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/streams/examples/src/main/java/org/apache/kafka/streams/examples/pageview/PageViewUntypedDemo.java>:90:
warning: [deprecation] Serialized in org.apache.kafka.streams.kstream has been deprecated
            .groupByKey(Serialized.with(Serdes.String(), jsonSerde))
                        ^
<https://builds.apache.org/job/kafka-2.1-jdk8/ws/streams/examples/src/main/java/org/apache/kafka/streams/examples/pageview/PageViewUntypedDemo.java>:90:
warning: [deprecation] groupByKey(Serialized<K,V>) in KStream has been deprecated
            .groupByKey(Serialized.with(Serdes.String(), jsonSerde))
            ^
  where K,V are type-variables:
    K extends Object declared in interface KStream
    V extends Object declared in interface KStream
6 warnings

> Task :streams:examples:processResources NO-SOURCE
> Task :streams:examples:classes
> Task :streams:examples:checkstyleMain
> Task :streams:examples:compileTestJava
> Task :streams:examples:processTestResources NO-SOURCE
> Task :streams:examples:testClasses
> Task :streams:examples:checkstyleTest
> Task :spotlessScala UP-TO-DATE
> Task :spotlessScalaCheck UP-TO-DATE
> Task :streams:streams-scala:compileJava NO-SOURCE

> Task :streams:streams-scala:compileScala
Pruning sources from previous analysis, due to incompatible CompileSetup.

> Task :streams:streams-scala:processResources NO-SOURCE
> Task :streams:streams-scala:classes
> Task :streams:streams-scala:checkstyleMain NO-SOURCE
> Task :streams:streams-scala:compileTestJava NO-SOURCE

> Task :streams:streams-scala:compileTestScala
Pruning sources from previous analysis, due to incompatible CompileSetup.

> Task :streams:streams-scala:processTestResources UP-TO-DATE
> Task :streams:streams-scala:testClasses
> Task :streams:streams-scala:checkstyleTest NO-SOURCE
> Task :streams:test-utils:checkstyleMain

> Task :streams:test-utils:compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :streams:test-utils:processTestResources NO-SOURCE
> Task :streams:test-utils:testClasses
> Task :streams:test-utils:checkstyleTest
> Task :testScala_2_11 FAILED
> Task :connect:runtime:spotbugsMain
> Task :connect:transforms:spotbugsMain
> Task :streams:examples:spotbugsMain
> Task :streams:streams-scala:spotbugsMain
> Task :streams:test-utils:spotbugsMain

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':kafka-2.1-jdk8:core:spotbugsMain'.
> A failure occurred while executing com.github.spotbugs.internal.spotbugs.SpotBugsRunner
   > SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/kafka-2.1-jdk8/ws/core/build/reports/spotbugs/main.xml>

* 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 2h 15m 27s
124 actionable tasks: 88 executed, 36 up-to-date
Build step 'Execute shell' marked build as failure
[FINDBUGS] Collecting findbugs analysis files...
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
[FINDBUGS] Searching for all files in <https://builds.apache.org/job/kafka-2.1-jdk8/ws/>
that match the pattern **/build/reports/findbugs/*.xml
[FINDBUGS] No files found. Configuration error?
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
No credentials specified
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
<Git Blamer> Using GitBlamer to create author and commit information for all warnings.
<Git Blamer> GIT_COMMIT=7b96a782cdb7306ff81830ef9e690f7537fe622c, workspace=<https://builds.apache.org/job/kafka-2.1-jdk8/ws/>
[FINDBUGS] Computing warning deltas based on reference build #160
Recording test results
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
Setting GRADLE_4_8_1_HOME=/home/jenkins/tools/gradle/4.8.1
Not sending mail to unregistered user bill@confluent.io

Mime
View raw message