See 
<https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/883/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 76.91 KB...]
  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 
6,5,main]) completed. Took 0.562 secs.
:beam-sdks-java-core:compileTestJava (Thread[Task worker for ':' Thread 
6,5,main]) started.

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

Total Jars: 36 (includes project)
Total Time: 8.651s [8651ms]
Average Time/Jar: 0.2403055555556s [240.3055555556ms]
*******************
:beam-model-pipeline:shadowJar (Thread[Task worker for ':' Thread 5,5,main]) 
completed. Took 10.531 secs.
:beam-model-fn-execution:shadowJar (Thread[Task worker for ':' Thread 
5,5,main]) started.
:beam-model-job-management:shadowJar (Thread[Task worker for ':' Thread 
3,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_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 2,5,main]) completed. Took 7.255 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 
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_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 
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_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 
6,5,main]) completed. Took 7.311 secs.
:beam-sdks-java-core:processTestResources (Thread[Task worker for ':' Thread 
6,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 
6,5,main]) completed. Took 0.004 secs.

> Task :beam-model-fn-execution:shadowJar
Build cache key for task ':beam-model-fn-execution:shadowJar' is 
47e5d64be88b829d0f001e275d712ba9
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.103 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[Daemon 
worker,5,main]) completed. Took 8.306 secs.
:beam-vendor-sdks-java-extensions-protobuf:classes (Thread[Daemon 
worker,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[Daemon 
worker,5,main]) completed. Took 0.0 secs.
:beam-vendor-sdks-java-extensions-protobuf:shadowJar (Thread[Daemon 
worker,5,main]) started.

> Task :beam-model-job-management:shadowJar
Build cache key for task ':beam-model-job-management:shadowJar' is 
382170778231b42c81dc820f75ced28a
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 1b3a0e6ac91e1fbb9512e62ba86298bb
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.794s [1794ms]
Average Time/Jar: 0.897s [897.0ms]
*******************
:beam-vendor-sdks-java-extensions-protobuf:shadowJar (Thread[Daemon 
worker,5,main]) completed. Took 1.861 secs.

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

Total Jars: 37 (includes project)
Total Time: 20.806s [20806ms]
Average Time/Jar: 0.5623243243243s [562.3243243243ms]
*******************
:beam-model-job-management:shadowJar (Thread[Task worker for ':' Thread 
3,5,main]) completed. Took 23.229 secs.
:beam-runners-core-construction-java:compileJava (Thread[Task worker for ':' 
Thread 3,5,main]) started.

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

Total Jars: 37 (includes project)
Total Time: 20.375s [20375ms]
Average Time/Jar: 0.5506756756757s [550.6756756757ms]
*******************
:beam-model-fn-execution:shadowJar (Thread[Task worker for ':' Thread 
5,5,main]) completed. Took 23.839 secs.
:beam-sdks-java-fn-execution:compileJava (Thread[Task worker for ':' Thread 
5,5,main]) started.

> Task :beam-runners-core-construction-java:compileJava
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_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 3,5,main]) completed. Took 8.76 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 2.005 secs. 6714 
duplicate classes found in classpath (see all with --debug).
Packing task ':beam-sdks-java-fn-execution:compileJava'
:beam-sdks-java-fn-execution:compileJava (Thread[Task worker for ':' Thread 
5,5,main]) completed. Took 9.397 secs.
:beam-sdks-java-fn-execution:classes (Thread[Task worker for ':' Thread 
5,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 ':' Thread 
5,5,main]) completed. Took 0.0 secs.
:beam-sdks-java-fn-execution:shadowJar (Thread[Task worker for ':' Thread 
5,5,main]) started.

> Task :beam-sdks-java-fn-execution:shadowJar
Build cache key for task ':beam-sdks-java-fn-execution:shadowJar' is 
0af2cbcbdbd7bf1dd2d6bb3e7895e275
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.976s [1976ms]
Average Time/Jar: 0.988s [988.0ms]
*******************
:beam-sdks-java-fn-execution:shadowJar (Thread[Task worker for ':' Thread 
5,5,main]) completed. Took 2.054 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 59s
31 actionable tasks: 27 executed, 4 from cache

Publishing build scan...
https://gradle.com/s/327n26z34ztki

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

Reply via email to