beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-4764) Task :beam-model-fn-execution:validateShadedJarDoesntLeakNonOrgApacheBeamClasses broken
Date Wed, 11 Jul 2018 17:16:00 GMT


ASF GitHub Bot logged work on BEAM-4764:

                Author: ASF GitHub Bot
            Created on: 11/Jul/18 17:15
            Start Date: 11/Jul/18 17:15
    Worklog Time Spent: 10m 
      Work Description: lukecwik closed pull request #5929: [BEAM-4764] Fix java precommit
to ensure that any checks in model/* are run.

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/build.gradle b/build.gradle
index af2c411ed18..bfda9569514 100644
--- a/build.gradle
+++ b/build.gradle
@@ -158,6 +158,11 @@ check.dependsOn rat
 // for the test definitions.
 task javaPreCommit() {
   dependsOn ":rat"
+  // We need to list the model/* builds since sdks/java/core doesn't
+  // depend on any of the model.
+  dependsOn ":beam-model-pipeline:build"
+  dependsOn ":beam-model-job-management:build"
+  dependsOn ":beam-model-fn-execution:build"
   dependsOn ":beam-sdks-java-core:buildNeeded"
   dependsOn ":beam-sdks-java-core:buildDependents"
   dependsOn ":beam-examples-java:preCommit"


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 121960)
    Time Spent: 40m  (was: 0.5h)

> Task :beam-model-fn-execution:validateShadedJarDoesntLeakNonOrgApacheBeamClasses broken
> ---------------------------------------------------------------------------------------
>                 Key: BEAM-4764
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system
>            Reporter: Henning Rohde
>            Assignee: Luke Cwik
>            Priority: Blocker
>             Fix For: Not applicable
>          Time Spent: 40m
>  Remaining Estimate: 0h
> Running from head with no changes:
> $ ./gradlew build
> [...]
> > Task :beam-sdks-java-harness:compileJava
> Note: /Users/herohde/go/src/
uses or overrides 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.
> > Task :beam-model-fn-execution:validateShadedJarDoesntLeakNonOrgApacheBeamClasses
> > Task :beam-sdks-go:resolveBuildDependencies
> Resolving commit='386d4e5f4f92f86e6aec85985761bba4b938a2d5', urls=[]
> > Task :beam-sdks-go:resolveBuildDependencies
> Resolving commit='2b5a72b8730b0b16380010cfe5286c42108d88e7',
> Resolving commit='7646b5360d049a7ca31e9133315db43456f39e2e',
> Resolving cached commit='11214aa33bf5a47d3d9d8dafe0f6b97237dfe921',
> Resolving cached commit='11214aa33bf5a47d3d9d8dafe0f6b97237dfe921',
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':beam-model-fn-execution:validateShadedJarDoesntLeakNonOrgApacheBeamClasses'.
> > Could not find method zipTree() for arguments [/Users/herohde/go/src/]
on task ':beam-model-fn-execution:validateShadedJarDoesntLeakNonOrgApacheBeamClasses' of type
> * 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
> Deprecated Gradle features were used in this build, making it incompatible with Gradle
> See
> BUILD FAILED in 4m 7s
> 119 actionable tasks: 88 executed, 6 from cache, 25 up-to-date

This message was sent by Atlassian JIRA

View raw message