beam-builds 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: beam_PreCommit_Java_Cron #1007
Date Fri, 01 Mar 2019 06:28:55 GMT
See <https://builds.apache.org/job/beam_PreCommit_Java_Cron/1007/display/redirect?page=changes>

Changes:

[kenn] [BEAM-6554] Migrate from findbugs to spotbugs

------------------------------------------
[...truncated 1.06 MB...]
                         ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/MetricQueryResults.java>:33:
warning: no @return
  public abstract Iterable<MetricResult<Long>> getCounters();
                                               ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/MetricQueryResults.java>:36:
warning: no @return
  public abstract Iterable<MetricResult<DistributionResult>> getDistributions();
                                                             ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/MetricQueryResults.java>:39:
warning: no @return
  public abstract Iterable<MetricResult<GaugeResult>> getGauges();
                                                      ^

> Task :beam-sdks-java-io-elasticsearch:spotbugsMain
The following classes needed for analysis were missing:
  com.google.auto.value.AutoValue$Builder
  com.google.auto.value.AutoValue

> Task :beam-sdks-java-io-elasticsearch:test NO-SOURCE
> Task :beam-sdks-java-io-elasticsearch:validateShadedJarDoesntLeakNonProjectClasses
> Task :beam-sdks-java-io-elasticsearch:check
> Task :beam-sdks-java-io-elasticsearch:build
> Task :beam-sdks-java-io-elasticsearch:buildDependents
> Task :beam-sdks-java-io-hadoop-common:jar

> Task :beam-sdks-java-extensions-protobuf:javadoc
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:111:
warning: no @param for <T>
  public static <T extends Message> ProtoCoder<T> of(Class<T> protoMessageClass)
{
                                                  ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:111:
warning: no @param for protoMessageClass
  public static <T extends Message> ProtoCoder<T> of(Class<T> protoMessageClass)
{
                                                  ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:111:
warning: no @return
  public static <T extends Message> ProtoCoder<T> of(Class<T> protoMessageClass)
{
                                                  ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:119:
warning: no @param for <T>
  public static <T extends Message> ProtoCoder<T> of(TypeDescriptor<T> protoMessageType)
{
                                                  ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:119:
warning: no @param for protoMessageType
  public static <T extends Message> ProtoCoder<T> of(TypeDescriptor<T> protoMessageType)
{
                                                  ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:119:
warning: no @return
  public static <T extends Message> ProtoCoder<T> of(TypeDescriptor<T> protoMessageType)
{
                                                  ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:134:
warning: no @param for moreExtensionHosts
  public ProtoCoder<T> withExtensionsFrom(Iterable<Class<?>> moreExtensionHosts)
{
                       ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:134:
warning: no @return
  public ProtoCoder<T> withExtensionsFrom(Iterable<Class<?>> moreExtensionHosts)
{
                       ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:163:
warning: no @param for moreExtensionHosts
  public ProtoCoder<T> withExtensionsFrom(Class<?>... moreExtensionHosts) {
                       ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:163:
warning: no @return
  public ProtoCoder<T> withExtensionsFrom(Class<?>... moreExtensionHosts) {
                       ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:223:
warning: no @return
  public Class<T> getMessageType() {
                  ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:235:
warning: no @return
  public ExtensionRegistry getExtensionRegistry() {
                           ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoCoder.java>:300:
warning: no @return
  public static CoderProvider getCoderProvider() {
                              ^
13 warnings

> Task :beam-sdks-java-core:javadoc
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/MetricResult.java>:38:
warning: no @return
  public MetricName getName() {
                    ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/MetricResult.java>:50:
warning: no @return
  public T getCommitted() {
           ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/MetricResult.java>:66:
warning: no @return
  public abstract T getCommittedOrNull();
                    ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/MetricResult.java>:69:
warning: no @return
  public abstract T getAttempted();
                    ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/MetricResults.java>:61:
warning: no @param for filter
  public abstract MetricQueryResults queryMetrics(MetricsFilter filter);
                                     ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/MetricResults.java>:61:
warning: no @return
  public abstract MetricQueryResults queryMetrics(MetricsFilter filter);
                                     ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/Metrics.java>:62:
warning: no @param for namespace
  public static Counter counter(String namespace, String name) {
                        ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/Metrics.java>:62:
warning: no @param for name
  public static Counter counter(String namespace, String name) {
                        ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/Metrics.java>:62:
warning: no @return
  public static Counter counter(String namespace, String name) {
                        ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/Metrics.java>:69:
warning: no @param for namespace
  public static Counter counter(Class<?> namespace, String name) {
                        ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/Metrics.java>:69:
warning: no @param for name
  public static Counter counter(Class<?> namespace, String name) {
                        ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/core/src/main/java/org/apache/beam/sdk/metrics/Metrics.java>:69:
warning: no @return
  public static Counter counter(Class<?> namespace, String name) {
                        ^

> Task :beam-sdks-java-fn-execution:javadoc
> Task :beam-sdks-java-io-common:test
> Task :beam-runners-samza:spotbugsMain
> Task :beam-runners-samza:test
> Task :beam-sdks-java-fn-execution:spotbugsMain
> Task :beam-sdks-java-extensions-protobuf:test
> Task :beam-sdks-java-extensions-protobuf:validateShadedJarDoesntLeakNonProjectClasses
> Task :beam-sdks-java-io-common:check
> Task :beam-sdks-java-io-common:build
> Task :beam-sdks-java-io-common:buildDependents
> Task :beam-sdks-java-extensions-protobuf:spotbugsMain
> Task :beam-sdks-java-extensions-protobuf:check
> Task :beam-sdks-java-extensions-protobuf:build
> Task :beam-vendor-sdks-java-extensions-protobuf:jar
> Task :beam-vendor-sdks-java-extensions-protobuf:compileTestJava NO-SOURCE
> Task :beam-vendor-sdks-java-extensions-protobuf:testClasses UP-TO-DATE
> Task :beam-vendor-sdks-java-extensions-protobuf:packageTests
> Task :beam-vendor-sdks-java-extensions-protobuf:assemble
> Task :beam-vendor-sdks-java-extensions-protobuf:analyzeClassesDependencies SKIPPED
> Task :beam-vendor-sdks-java-extensions-protobuf:analyzeTestClassesDependencies SKIPPED
> Task :beam-vendor-sdks-java-extensions-protobuf:analyzeDependencies SKIPPED
> Task :beam-vendor-sdks-java-extensions-protobuf:checkstyleMain NO-SOURCE
> Task :beam-vendor-sdks-java-extensions-protobuf:checkstyleTest NO-SOURCE
> Task :beam-vendor-sdks-java-extensions-protobuf:javadoc NO-SOURCE

> Task :beam-sdks-java-core:javadoc
100 warnings

> Task :beam-vendor-sdks-java-extensions-protobuf:spotbugsMain
> Task :beam-vendor-sdks-java-extensions-protobuf:test NO-SOURCE
> Task :beam-vendor-sdks-java-extensions-protobuf:validateShadedJarDoesntLeakNonProjectClasses
> Task :beam-vendor-sdks-java-extensions-protobuf:check
> Task :beam-vendor-sdks-java-extensions-protobuf:build
> Task :beam-sdks-java-io-hadoop-common:compileTestJava
> Task :beam-runners-java-fn-execution:validateShadedJarDoesntLeakNonProjectClasses
> Task :beam-runners-java-fn-execution:check
> Task :beam-runners-java-fn-execution:build
> Task :beam-sdks-java-fn-execution:test
> Task :beam-sdks-java-fn-execution:validateShadedJarDoesntLeakNonProjectClasses
> Task :beam-sdks-java-fn-execution:check
> Task :beam-sdks-java-fn-execution:build
> Task :beam-sdks-java-io-redis:shadowJar
> Task :beam-sdks-java-io-redis:validateShadedJarDoesntLeakNonProjectClasses
> Task :beam-sdks-java-io-redis:check
> Task :beam-sdks-java-io-redis:build
> Task :beam-sdks-java-io-redis:buildDependents

> Task :beam-sdks-java-io-hadoop-common:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :beam-sdks-java-extensions-sql-jdbc:shadowJarTest
> Task :beam-sdks-java-io-hadoop-common:testClasses
> Task :beam-sdks-java-io-hadoop-common:packageTests
> Task :beam-sdks-java-io-hadoop-common:assemble
> Task :beam-sdks-java-io-hadoop-common:analyzeClassesDependencies SKIPPED
> Task :beam-sdks-java-io-hadoop-common:analyzeTestClassesDependencies SKIPPED
> Task :beam-sdks-java-io-hadoop-common:analyzeDependencies SKIPPED
> Task :beam-runners-samza:shadowJar
> Task :beam-runners-samza:validateShadedJarDoesntLeakNonProjectClasses
> Task :beam-runners-samza:check
> Task :beam-runners-samza:build
> Task :beam-runners-samza:buildDependents
> Task :beam-sdks-java-io-hadoop-common:checkstyleMain
> Task :beam-sdks-java-io-hadoop-common:checkstyleTest
> Task :beam-sdks-java-core:spotbugsMain

> Task :beam-sdks-java-io-hadoop-common:javadoc
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/io/hadoop-common/src/main/java/org/apache/beam/sdk/io/hadoop/SerializableConfiguration.java>:73:
warning: no @param for conf
  public static Job newJob(@Nullable SerializableConfiguration conf) throws IOException {
                    ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/io/hadoop-common/src/main/java/org/apache/beam/sdk/io/hadoop/SerializableConfiguration.java>:73:
warning: no @return
  public static Job newJob(@Nullable SerializableConfiguration conf) throws IOException {
                    ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/io/hadoop-common/src/main/java/org/apache/beam/sdk/io/hadoop/SerializableConfiguration.java>:73:
warning: no @throws for java.io.IOException
  public static Job newJob(@Nullable SerializableConfiguration conf) throws IOException {
                    ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/io/hadoop-common/src/main/java/org/apache/beam/sdk/io/hadoop/SerializableConfiguration.java>:87:
warning: no @param for conf
  public static Configuration newConfiguration(@Nullable SerializableConfiguration conf) {
                              ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/io/hadoop-common/src/main/java/org/apache/beam/sdk/io/hadoop/SerializableConfiguration.java>:87:
warning: no @return
  public static Configuration newConfiguration(@Nullable SerializableConfiguration conf) {
                              ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/io/hadoop-common/src/main/java/org/apache/beam/sdk/io/hadoop/WritableCoder.java>:61:
warning: no @param for clazz
  public static <T extends Writable> WritableCoder<T> of(Class<T> clazz)
{
                                                      ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/io/hadoop-common/src/main/java/org/apache/beam/sdk/io/hadoop/WritableCoder.java>:61:
warning: no @return
  public static <T extends Writable> WritableCoder<T> of(Class<T> clazz)
{
                                                      ^
<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/sdks/java/io/hadoop-common/src/main/java/org/apache/beam/sdk/io/hadoop/WritableCoder.java>:130:
warning: no @return
  public static CoderProvider getCoderProvider() {
                              ^
8 warnings

> Task :beam-sdks-java-javadoc:allJavadoc
> Task :beam-sdks-java-core:test
> Task :beam-sdks-java-extensions-sql-jdbc:preCommit
> Task :beam-sdks-java-io-hadoop-common:test
> Task :beam-sdks-java-io-hadoop-common:validateShadedJarDoesntLeakNonProjectClasses
> Task :beam-sdks-java-io-hadoop-common:spotbugsMain
> Task :beam-sdks-java-io-hadoop-common:check
> Task :beam-sdks-java-io-hadoop-common:build
> Task :beam-sdks-java-io-hadoop-common:buildDependents

> Task :beam-sdks-java-core:spotbugsMain
The following classes needed for analysis were missing:
  com.google.auto.value.AutoValue$Builder
  com.google.auto.value.AutoValue

> Task :beam-sdks-java-core:validateShadedJarDoesntLeakNonProjectClasses
> Task :beam-sdks-java-core:check
> Task :beam-sdks-java-core:build
> Task :beam-sdks-java-core:buildNeeded
> Task :beam-sdks-java-nexmark:shadowJar
> Task :beam-sdks-java-nexmark:validateShadedJarDoesntLeakNonProjectClasses
> Task :beam-sdks-java-nexmark:check
> Task :beam-sdks-java-nexmark:build
> Task :beam-sdks-java-nexmark:buildDependents
> Task :beam-sdks-java-extensions-sql:buildDependents
> Task :beam-sdks-java-io-kafka:buildDependents
> Task :beam-sdks-java-test-utils:buildDependents
> Task :beam-sdks-java-extensions-join-library:buildDependents

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':beam-examples-java:test'.
> There were failing tests. See the report at: file://<https://builds.apache.org/job/beam_PreCommit_Java_Cron/ws/src/examples/java/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 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 25m 9s
913 actionable tasks: 875 executed, 38 from cache

Publishing build scan...
https://gradle.com/s/2tmxp7nrjsa2q

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscribe@beam.apache.org
For additional commands, e-mail: builds-help@beam.apache.org


Mime
View raw message