Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-4764

Task :beam-model-fn-execution:validateShadedJarDoesntLeakNonOrgApacheBeamClasses broken

Details

    • Bug
    • Status: Resolved
    • P0
    • Resolution: Fixed
    • None
    • Not applicable
    • build-system
    • None

    Description

      Running from head with no changes:

      $ ./gradlew build
      [...]
      > Task :beam-sdks-java-harness:compileJava
      Note: /Users/herohde/go/src/github.com/apache/beam/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/state/FnApiStateAccessor.java 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 FAILED

      > Task :beam-sdks-go:resolveBuildDependencies
      Resolving google.golang.org/api: commit='386d4e5f4f92f86e6aec85985761bba4b938a2d5', urls=https://code.googlesource.com/google-api-go-client

      > Task :beam-sdks-go:resolveBuildDependencies
      Resolving google.golang.org/genproto: commit='2b5a72b8730b0b16380010cfe5286c42108d88e7', urls=https://github.com/google/go-genproto
      Resolving google.golang.org/grpc: commit='7646b5360d049a7ca31e9133315db43456f39e2e', urls=https://github.com/grpc/grpc-go
      Resolving cached github.com/coreos/etcd: commit='11214aa33bf5a47d3d9d8dafe0f6b97237dfe921', urls=https://github.com/coreos/etcd.git, git@github.com:coreos/etcd.git
      Resolving cached github.com/coreos/etcd: commit='11214aa33bf5a47d3d9d8dafe0f6b97237dfe921', urls=https://github.com/coreos/etcd.git, git@github.com:coreos/etcd.git

      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/github.com/apache/beam/model/fn-execution/build/libs/beam-model-fn-execution-2.6.0-SNAPSHOT-shaded.jar] on task ':beam-model-fn-execution:validateShadedJarDoesntLeakNonOrgApacheBeamClasses' of type org.gradle.api.DefaultTask.
      • 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.

      Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
      See https://docs.gradle.org/4.8/userguide/command_line_interface.html#sec:command_line_warnings

      BUILD FAILED in 4m 7s
      119 actionable tasks: 88 executed, 6 from cache, 25 up-to-date

      Attachments

        Activity

          People

            lcwik Luke Cwik
            herohde Henning Rohde
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m