See <https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/1245/display/redirect?page=changes>
Changes: [ccy] [BEAM-3717] Fix problems with Beam downloads page ------------------------------------------ [...truncated 59.20 KB...] > Task :beam-sdks-java-core:classes Skipping task ':beam-sdks-java-core:classes' as it has no actions. :beam-sdks-java-core:classes (Thread[Task worker for ':' Thread 67,5,main]) completed. Took 0.0 secs. :beam-sdks-java-core:shadowJar (Thread[Task worker for ':' Thread 67,5,main]) started. > Task :beam-model-pipeline:shadowJar Build cache key for task ':beam-model-pipeline:shadowJar' is 63b267f240be79a047f99b9e61ceb4be Caching disabled for task ':beam-model-pipeline:shadowJar': Caching has not been enabled for the task Task ':beam-model-pipeline:shadowJar' is not up-to-date because: No history is available. > Task :beam-sdks-java-core:shadowJar Build cache key for task ':beam-sdks-java-core:shadowJar' is ea34b14950a5a3f14452578d890aef70 Caching disabled for task ':beam-sdks-java-core:shadowJar': Caching has not been enabled for the task Task ':beam-sdks-java-core:shadowJar' is not up-to-date because: No history is available. ******************* GRADLE SHADOW STATS Total Jars: 6 (includes project) Total Time: 6.001s [6001ms] Average Time/Jar: 1.0001666666667s [1000.1666666667ms] ******************* :beam-sdks-java-core:shadowJar (Thread[Task worker for ':' Thread 67,5,main]) completed. Took 8.809 secs. :beam-sdks-java-extensions-google-cloud-platform-core:compileJava (Thread[Task worker for ':' Thread 67,5,main]) started. :beam-sdks-java-extensions-protobuf:extractIncludeProto (Thread[Task worker for ':' Thread 91,5,main]) started. :beam-sdks-java-core:generateTestAvroProtocol (Thread[Task worker for ':' Thread 66,5,main]) started. > Task :beam-sdks-java-core:generateTestAvroProtocol NO-SOURCE Skipping task ':beam-sdks-java-core:generateTestAvroProtocol' as it has no source files and no previous output files. :beam-sdks-java-core:generateTestAvroProtocol (Thread[Task worker for ':' Thread 66,5,main]) completed. Took 0.003 secs. :beam-sdks-java-core:generateTestAvroJava (Thread[Task worker for ':' Thread 66,5,main]) started. > Task :beam-sdks-java-extensions-protobuf:extractIncludeProto Build cache key for task ':beam-sdks-java-extensions-protobuf:extractIncludeProto' is b2184ea07671f63626b75248b1fd4fd8 Caching disabled for task ':beam-sdks-java-extensions-protobuf:extractIncludeProto': Caching has not been enabled for the task Task ':beam-sdks-java-extensions-protobuf:extractIncludeProto' is not up-to-date because: No history is available. :beam-sdks-java-extensions-protobuf:extractIncludeProto (Thread[Task worker for ':' Thread 91,5,main]) completed. Took 0.277 secs. :beam-sdks-java-extensions-protobuf:generateProto (Thread[Task worker for ':' Thread 91,5,main]) started. > Task :beam-sdks-java-extensions-protobuf:generateProto NO-SOURCE file or directory '<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/ws/src/sdks/java/extensions/protobuf/src/main/proto',> not found Skipping task ':beam-sdks-java-extensions-protobuf:generateProto' as it has no source files and no previous output files. :beam-sdks-java-extensions-protobuf:generateProto (Thread[Task worker for ':' Thread 91,5,main]) completed. Took 0.001 secs. :beam-sdks-java-extensions-protobuf:compileJava (Thread[Task worker for ':' Thread 91,5,main]) started. > Task :beam-sdks-java-core:generateTestAvroJava Build cache key for task ':beam-sdks-java-core:generateTestAvroJava' is e485090fed57ed9406a491ee86e365cc Caching disabled for task ':beam-sdks-java-core:generateTestAvroJava': Caching has not been enabled for the task Task ':beam-sdks-java-core:generateTestAvroJava' is not up-to-date because: No history is available. Found 1 files Processed src/test/avro/org/apache/beam/sdk/io/user.avsc :beam-sdks-java-core:generateTestAvroJava (Thread[Task worker for ':' Thread 66,5,main]) completed. Took 0.685 secs. :beam-sdks-java-core:compileTestJava (Thread[Task worker for ':' Thread 66,5,main]) started. > Task :beam-model-pipeline:shadowJar ******************* GRADLE SHADOW STATS Total Jars: 36 (includes project) Total Time: 8.978s [8978ms] Average Time/Jar: 0.2493888888889s [249.3888888889ms] ******************* :beam-model-pipeline:shadowJar (Thread[Task worker for ':',5,main]) completed. Took 10.686 secs. :beam-model-job-management:shadowJar (Thread[Task worker for ':',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 fc15be01de6d99e65537b03d099311ab 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_Dataflow_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_Dataflow_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 67,5,main]) completed. Took 6.705 secs. > Task :beam-sdks-java-extensions-protobuf:compileJava Build cache key for task ':beam-sdks-java-extensions-protobuf:compileJava' is 64dfc39a52a5e5256f2f1ea46d1e693c Task ':beam-sdks-java-extensions-protobuf:compileJava' is not up-to-date because: No history is available. Custom actions are attached to task ':beam-sdks-java-extensions-protobuf:compileJava'. All input files are considered out-of-date for incremental task ':beam-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_Dataflow_Gradle/ws/src/sdks/java/extensions/protobuf/build/generated/source/proto/main/java',> not found file or directory '<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/ws/src/sdks/java/extensions/protobuf/build/generated/source/proto/main/grpc',> 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 8e799ad9dede195605fba3b9defaad87 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_Dataflow_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_Dataflow_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_Dataflow_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 66,5,main]) completed. Took 6.763 secs. :beam-sdks-java-core:processTestResources (Thread[Task worker for ':' Thread 66,5,main]) started. > Task :beam-sdks-java-core:processTestResources NO-SOURCE file or directory '<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_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 66,5,main]) completed. Took 0.004 secs. > Task :beam-model-job-management:shadowJar Build cache key for task ':beam-model-job-management:shadowJar' is 3cd313019854bfbbce5e662a2d01b18b 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-sdks-java-extensions-protobuf:compileJava Created classpath snapshot for incremental compilation in 2.987 secs. 39 duplicate classes found in classpath (see all with --debug). Packing task ':beam-sdks-java-extensions-protobuf:compileJava' :beam-sdks-java-extensions-protobuf:compileJava (Thread[Task worker for ':' Thread 91,5,main]) completed. Took 7.63 secs. :beam-sdks-java-extensions-protobuf:classes (Thread[Task worker for ':' Thread 91,5,main]) started. > Task :beam-sdks-java-extensions-protobuf:classes Skipping task ':beam-sdks-java-extensions-protobuf:classes' as it has no actions. :beam-sdks-java-extensions-protobuf:classes (Thread[Task worker for ':' Thread 91,5,main]) completed. Took 0.0 secs. :beam-sdks-java-extensions-protobuf:shadowJar (Thread[Task worker for ':' Thread 91,5,main]) started. > Task :beam-sdks-java-extensions-protobuf:shadowJar Build cache key for task ':beam-sdks-java-extensions-protobuf:shadowJar' is eda57b03ce4ecea8513bd03fa6cd6b09 Caching disabled for task ':beam-sdks-java-extensions-protobuf:shadowJar': Caching has not been enabled for the task Task ':beam-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.984s [1984ms] Average Time/Jar: 0.992s [992.0ms] ******************* :beam-sdks-java-extensions-protobuf:shadowJar (Thread[Task worker for ':' Thread 91,5,main]) completed. Took 2.046 secs. > Task :beam-model-job-management:shadowJar ******************* GRADLE SHADOW STATS Total Jars: 37 (includes project) Total Time: 18.652s [18652ms] Average Time/Jar: 0.5041081081081s [504.1081081081ms] ******************* :beam-model-job-management:shadowJar (Thread[Task worker for ':',5,main]) completed. Took 20.525 secs. :beam-runners-core-construction-java:compileJava (Thread[Task worker for ':',5,main]) started. > Task :beam-runners-core-construction-java:compileJava Build cache key for task ':beam-runners-core-construction-java:compileJava' is c37fc53c65c7b1c2213e39dda31da483 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_Dataflow_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 ':',5,main]) completed. Took 7.536 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 51s 25 actionable tasks: 22 executed, 3 from cache Publishing build scan... https://gradle.com/s/tkwc4sbptur3i Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure