beam-commits 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_PostCommit_Java_ValidatesRunner_Flink_Gradle #1807
Date Thu, 11 Oct 2018 18:45:56 GMT
See <https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/1807/display/redirect?page=changes>

Changes:

[scott] [BEAM-5717] Only pass PR ID to Gradle if available

[scott] Trim PR ID property before checking for truthiness

------------------------------------------
[...truncated 80.16 KB...]
:beam-sdks-java-core:compileTestJava (Thread[Task worker for ':' Thread 3,5,main]) started.

> Task :beam-model-pipeline:shadowJar
*******************
GRADLE SHADOW STATS

Total Jars: 36 (includes project)
Total Time: 8.778s [8778ms]
Average Time/Jar: 0.2438333333333s [243.8333333333ms]
*******************
:beam-model-pipeline:shadowJar (Thread[Task worker for ':',5,main]) completed. Took 10.832
secs.
:beam-model-fn-execution:shadowJar (Thread[Task worker for ':',5,main]) started.
:beam-model-job-management:shadowJar (Thread[Task worker for ':' Thread 7,5,main]) started.

> Task :beam-sdks-java-extensions-google-cloud-platform-core:compileJava
Build cache key for task ':beam-sdks-java-extensions-google-cloud-platform-core:compileJava'
is fb1dad3a7301255b1d1e23de3dd902b5
Task ':beam-sdks-java-extensions-google-cloud-platform-core:compileJava' is not up-to-date
because:
  No history is available.
Custom actions are attached to task ':beam-sdks-java-extensions-google-cloud-platform-core:compileJava'.
All input files are considered out-of-date for incremental task ':beam-sdks-java-extensions-google-cloud-platform-core:compileJava'.
Full recompilation is required because no incremental change information is available. This
is usually caused by clean builds or changing compiler arguments.
Compiling with error-prone compiler
<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/ws/src/sdks/java/extensions/google-cloud-platform-core/src/main/java/org/apache/beam/sdk/util/gcsfs/GcsPath.java>:542:
warning: [EqualsGetClass] Overriding Object#equals in a non-final class by using getClass
rather than instanceof breaks substitutability of subclasses.
  public boolean equals(Object o) {
                 ^
    (see https://errorprone.info/bugpattern/EqualsGetClass)
  Did you mean 'if (!(o instanceof GcsPath)) {'?
error: warnings found and -Werror specified
Note: <https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/ws/src/sdks/java/extensions/google-cloud-platform-core/src/main/java/org/apache/beam/sdk/util/GcsUtil.java>
uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
1 warning

> Task :beam-sdks-java-extensions-google-cloud-platform-core:compileJava FAILED
:beam-sdks-java-extensions-google-cloud-platform-core:compileJava (Thread[Task worker for
':' Thread 8,5,main]) completed. Took 6.814 secs.

> Task :beam-vendor-sdks-java-extensions-protobuf:compileJava
file or directory '<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/ws/src/vendor/sdks-java-extensions-protobuf/src/main/java',>
not found
Build cache key for task ':beam-vendor-sdks-java-extensions-protobuf:compileJava' is dbc0c48111a098b3546d2db8ff8ac76f
Task ':beam-vendor-sdks-java-extensions-protobuf:compileJava' is not up-to-date because:
  No history is available.
Custom actions are attached to task ':beam-vendor-sdks-java-extensions-protobuf:compileJava'.
All input files are considered out-of-date for incremental task ':beam-vendor-sdks-java-extensions-protobuf:compileJava'.
Full recompilation is required because no incremental change information is available. This
is usually caused by clean builds or changing compiler arguments.
file or directory '<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/ws/src/vendor/sdks-java-extensions-protobuf/src/main/java',>
not found
Compiling with error-prone compiler
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :beam-sdks-java-core:compileTestJava FAILED
Build cache key for task ':beam-sdks-java-core:compileTestJava' is d2d35237eee907082fea5609df3019a8
Task ':beam-sdks-java-core:compileTestJava' is not up-to-date because:
  No history is available.
Custom actions are attached to task ':beam-sdks-java-core:compileTestJava'.
All input files are considered out-of-date for incremental task ':beam-sdks-java-core:compileTestJava'.
Full recompilation is required because no incremental change information is available. This
is usually caused by clean builds or changing compiler arguments.
Compiling with error-prone compiler
<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/ws/src/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/AvroCoderTest.java>:105:
warning: [EqualsGetClass] Overriding Object#equals in a non-final class by using getClass
rather than instanceof breaks substitutability of subclasses.
    public boolean equals(Object o) {
                   ^
    (see https://errorprone.info/bugpattern/EqualsGetClass)
  Did you mean 'if (!(o instanceof Pojo)) {'?
<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/ws/src/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/AvroCoderTest.java>:288:
warning: [UnnecessaryParentheses] Unnecessary use of grouping parentheses
    Schema schema = (new Schema.Parser()).parse(schemaString);
                    ^
    (see https://errorprone.info/bugpattern/UnnecessaryParentheses)
  Did you mean 'Schema schema = new Schema.Parser().parse(schemaString);'?
error: warnings found and -Werror specified
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: <https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/ws/src/sdks/java/core/src/test/java/org/apache/beam/sdk/coders/AvroCoderTest.java>
uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
2 warnings
:beam-sdks-java-core:compileTestJava (Thread[Task worker for ':' Thread 3,5,main]) completed.
Took 7.19 secs.
:beam-sdks-java-core:processTestResources (Thread[Task worker for ':' Thread 3,5,main]) started.

> Task :beam-sdks-java-core:processTestResources NO-SOURCE
file or directory '<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/ws/src/sdks/java/core/src/test/resources',>
not found
Skipping task ':beam-sdks-java-core:processTestResources' as it has no source files and no
previous output files.
:beam-sdks-java-core:processTestResources (Thread[Task worker for ':' Thread 3,5,main]) completed.
Took 0.001 secs.

> Task :beam-model-fn-execution:shadowJar
Build cache key for task ':beam-model-fn-execution:shadowJar' is cecc54e5a2e8fcd9f015bbeca92f7aff
Caching disabled for task ':beam-model-fn-execution:shadowJar': Caching has not been enabled
for the task
Task ':beam-model-fn-execution:shadowJar' is not up-to-date because:
  No history is available.

> Task :beam-vendor-sdks-java-extensions-protobuf:compileJava
Created classpath snapshot for incremental compilation in 3.352 secs. 39 duplicate classes
found in classpath (see all with --debug).
Packing task ':beam-vendor-sdks-java-extensions-protobuf:compileJava'
:beam-vendor-sdks-java-extensions-protobuf:compileJava (Thread[Task worker for ':' Thread
5,5,main]) completed. Took 8.196 secs.
:beam-vendor-sdks-java-extensions-protobuf:classes (Thread[Task worker for ':' Thread 5,5,main])
started.

> Task :beam-vendor-sdks-java-extensions-protobuf:classes
Skipping task ':beam-vendor-sdks-java-extensions-protobuf:classes' as it has no actions.
:beam-vendor-sdks-java-extensions-protobuf:classes (Thread[Task worker for ':' Thread 5,5,main])
completed. Took 0.0 secs.
:beam-vendor-sdks-java-extensions-protobuf:shadowJar (Thread[Task worker for ':' Thread 5,5,main])
started.

> Task :beam-model-job-management:shadowJar
Build cache key for task ':beam-model-job-management:shadowJar' is 76bf993a8aaa02afe27a819902b97c90
Caching disabled for task ':beam-model-job-management:shadowJar': Caching has not been enabled
for the task
Task ':beam-model-job-management:shadowJar' is not up-to-date because:
  No history is available.

> Task :beam-vendor-sdks-java-extensions-protobuf:shadowJar
Build cache key for task ':beam-vendor-sdks-java-extensions-protobuf:shadowJar' is 579e887f9aa263382a28497b39779fdf
Caching disabled for task ':beam-vendor-sdks-java-extensions-protobuf:shadowJar': Caching
has not been enabled for the task
Task ':beam-vendor-sdks-java-extensions-protobuf:shadowJar' is not up-to-date because:
  No history is available.
*******************
GRADLE SHADOW STATS

Total Jars: 2 (includes project)
Total Time: 1.726s [1726ms]
Average Time/Jar: 0.863s [863.0ms]
*******************
:beam-vendor-sdks-java-extensions-protobuf:shadowJar (Thread[Task worker for ':' Thread 5,5,main])
completed. Took 1.778 secs.

> Task :beam-model-job-management:shadowJar
*******************
GRADLE SHADOW STATS

Total Jars: 37 (includes project)
Total Time: 19.77s [19770ms]
Average Time/Jar: 0.5343243243243001s [534.3243243243ms]
*******************
:beam-model-job-management:shadowJar (Thread[Task worker for ':' Thread 7,5,main]) completed.
Took 22.306 secs.
:beam-runners-core-construction-java:compileJava (Thread[Task worker for ':' Thread 7,5,main])
started.

> Task :beam-model-fn-execution:shadowJar
*******************
GRADLE SHADOW STATS

Total Jars: 37 (includes project)
Total Time: 19.634s [19634ms]
Average Time/Jar: 0.5306486486486s [530.6486486486ms]
*******************
:beam-model-fn-execution:shadowJar (Thread[Task worker for ':',5,main]) completed. Took 22.943
secs.
:beam-sdks-java-fn-execution:compileJava (Thread[Task worker for ':',5,main]) started.

> Task :beam-runners-core-construction-java:compileJava
Invalidating in-memory cache of /home/jenkins/.gradle/caches/4.10.2/fileHashes/fileHashes.bin
Invalidating in-memory cache of /home/jenkins/.gradle/caches/4.10.2/fileHashes/resourceHashesCache.bin
Invalidating in-memory cache of /home/jenkins/.gradle/caches/4.10.2/fileContent/annotation-processors.bin
Build cache key for task ':beam-runners-core-construction-java:compileJava' is ed07b8b05ae1c31010a11e3740b1c5d1
Task ':beam-runners-core-construction-java:compileJava' is not up-to-date because:
  No history is available.
Custom actions are attached to task ':beam-runners-core-construction-java:compileJava'.
All input files are considered out-of-date for incremental task ':beam-runners-core-construction-java:compileJava'.
Full recompilation is required because no incremental change information is available. This
is usually caused by clean builds or changing compiler arguments.
Compiling with error-prone compiler
<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/ws/src/runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/ParDoTranslation.java>:573:
warning: [BadImport] Importing nested classes/static methods/static fields with commonly-used
names can make code harder to read, because it may not be clear from the context exactly which
type is being referred to. Qualifying the name with that of the containing class can make
the code clearer.
    Builder builder = SideInput.newBuilder();
    ^
    (see https://errorprone.info/bugpattern/BadImport)
  Did you mean 'SideInput.Builder builder = SideInput.newBuilder();'?
error: warnings found and -Werror specified
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.
1 error
1 warning

> Task :beam-runners-core-construction-java:compileJava FAILED
:beam-runners-core-construction-java:compileJava (Thread[Task worker for ':' Thread 7,5,main])
completed. Took 8.225 secs.

> Task :beam-sdks-java-fn-execution:compileJava
Build cache key for task ':beam-sdks-java-fn-execution:compileJava' is 47d29a97f04957769703f22676873018
Task ':beam-sdks-java-fn-execution:compileJava' is not up-to-date because:
  No history is available.
Custom actions are attached to task ':beam-sdks-java-fn-execution:compileJava'.
All input files are considered out-of-date for incremental task ':beam-sdks-java-fn-execution:compileJava'.
Full recompilation is required because no incremental change information is available. This
is usually caused by clean builds or changing compiler arguments.
Compiling with error-prone compiler
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Created classpath snapshot for incremental compilation in 1.873 secs. 6714 duplicate classes
found in classpath (see all with --debug).
Packing task ':beam-sdks-java-fn-execution:compileJava'
Invalidating in-memory cache of /home/jenkins/.gradle/caches/journal-1/file-access.bin
:beam-sdks-java-fn-execution:compileJava (Thread[Task worker for ':',5,main]) completed. Took
8.829 secs.
:beam-sdks-java-fn-execution:classes (Thread[Task worker for ':',5,main]) started.

> Task :beam-sdks-java-fn-execution:classes
Skipping task ':beam-sdks-java-fn-execution:classes' as it has no actions.
:beam-sdks-java-fn-execution:classes (Thread[Task worker for ':',5,main]) completed. Took
0.0 secs.
:beam-sdks-java-fn-execution:shadowJar (Thread[Task worker for ':' Thread 4,5,main]) started.

> Task :beam-sdks-java-fn-execution:shadowJar
Build cache key for task ':beam-sdks-java-fn-execution:shadowJar' is ad9bfd4adeb271d47f330e6979865331
Caching disabled for task ':beam-sdks-java-fn-execution:shadowJar': Caching has not been enabled
for the task
Task ':beam-sdks-java-fn-execution:shadowJar' is not up-to-date because:
  No history is available.
*******************
GRADLE SHADOW STATS

Total Jars: 2 (includes project)
Total Time: 1.995s [1995ms]
Average Time/Jar: 0.9975s [997.5ms]
*******************
:beam-sdks-java-fn-execution:shadowJar (Thread[Task worker for ':' Thread 4,5,main]) completed.
Took 2.071 secs.

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':beam-sdks-java-extensions-google-cloud-platform-core:compileJava'.
> Compilation failed with exit code 1; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log
output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':beam-sdks-java-core:compileTestJava'.
> Compilation failed with exit code 1; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log
output. Run with --scan to get full insights.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':beam-runners-core-construction-java:compileJava'.
> Compilation failed with exit code 1; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --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 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 1s
31 actionable tasks: 27 executed, 4 from cache

Publishing build scan...
https://gradle.com/s/7synuknagrdmk

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

Mime
View raw message