You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/10/11 05:42:10 UTC

Build failed in Jenkins: beam_PostCommit_Java_ValidatesRunner_Samza_Gradle #876

See <https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/876/display/redirect?page=changes>

Changes:

[valentyn] Make it possible to run unskip Py3 tests by setting an environment

------------------------------------------
[...truncated 77.02 KB...]
Average Time/Jar: 0.2268333333333s [226.8333333333ms]
*******************
:beam-model-pipeline:shadowJar (Thread[Task worker for ':',5,main]) completed. Took 9.823 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 bb7fa6c45b12493717b7172ff5e0d189
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_Samza_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_Samza_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 9,5,main]) completed. Took 9.092 secs.

> Task :beam-vendor-sdks-java-extensions-protobuf:compileJava
file or directory '<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_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 1b38d2d9c0b04c36a73d3ad0a3b867da
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_Samza_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 30cc2373eb5e6eeb8184669871d79fa2
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_Samza_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_Samza_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_Samza_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 2,5,main]) completed. Took 9.296 secs.
:beam-sdks-java-core:processTestResources (Thread[Task worker for ':' Thread 9,5,main]) started.

> Task :beam-sdks-java-core:processTestResources NO-SOURCE
file or directory '<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_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 9,5,main]) completed. Took 0.004 secs.

> Task :beam-model-fn-execution:shadowJar
Build cache key for task ':beam-model-fn-execution:shadowJar' is 46d9798870a2e549233c5fec0fee71a7
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 4.316 secs. 39 duplicate classes found in classpath (see all with --debug).
Packing task ':beam-vendor-sdks-java-extensions-protobuf:compileJava'
Invalidating in-memory cache of /home/jenkins/.gradle/caches/journal-1/file-access.bin
:beam-vendor-sdks-java-extensions-protobuf:compileJava (Thread[Task worker for ':' Thread 4,5,main]) completed. Took 10.176 secs.
:beam-vendor-sdks-java-extensions-protobuf:classes (Thread[Task worker for ':' Thread 4,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 4,5,main]) completed. Took 0.0 secs.
:beam-vendor-sdks-java-extensions-protobuf:shadowJar (Thread[Task worker for ':' Thread 4,5,main]) started.

> Task :beam-model-job-management:shadowJar
Build cache key for task ':beam-model-job-management:shadowJar' is 712a0c92a7b8f7ae0196ce8d3da14233
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 99ffed1f864cbc59c6bdc12a17f9d905
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.9s [1900ms]
Average Time/Jar: 0.95s [950.0ms]
*******************
:beam-vendor-sdks-java-extensions-protobuf:shadowJar (Thread[Task worker for ':' Thread 4,5,main]) completed. Took 1.962 secs.

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

Total Jars: 37 (includes project)
Total Time: 23.178s [23178ms]
Average Time/Jar: 0.6264324324324s [626.4324324324ms]
*******************
:beam-model-job-management:shadowJar (Thread[Task worker for ':' Thread 7,5,main]) completed. Took 25.394 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: 22.611s [22611ms]
Average Time/Jar: 0.6111081081081s [611.1081081081ms]
*******************
:beam-model-fn-execution:shadowJar (Thread[Task worker for ':',5,main]) completed. Took 26.031 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/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
Invalidating in-memory cache of /home/jenkins/.gradle/caches/4.10.2/fileContent/annotation-processors.bin
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/fileHashes/fileHashes.bin
Invalidating in-memory cache of /home/jenkins/.gradle/caches/4.10.2/fileHashes/resourceHashesCache.bin
Build cache key for task ':beam-runners-core-construction-java:compileJava' is 98375e84be76b3ff7412ab6fd9a1c4c1
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_Samza_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 10.077 secs.

> Task :beam-sdks-java-fn-execution:compileJava
Build cache key for task ':beam-sdks-java-fn-execution:compileJava' is 27b9a27393fa34601d9462cfd2766179
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 2.065 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 10.942 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 6,5,main]) started.

> Task :beam-sdks-java-fn-execution:shadowJar
Build cache key for task ':beam-sdks-java-fn-execution:shadowJar' is d5880b01fb74c753787a5d12b2892207
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: 2.12s [2120ms]
Average Time/Jar: 1.06s [1060.0ms]
*******************
:beam-sdks-java-fn-execution:shadowJar (Thread[Task worker for ':' Thread 6,5,main]) completed. Took 2.199 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/cuo54qmbv33u6

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

Jenkins build is back to normal : beam_PostCommit_Java_ValidatesRunner_Samza_Gradle #877

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/877/display/redirect>