[ https://issues.apache.org/jira/browse/BEAM-4328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16478240#comment-16478240 ]
Scott Wegner edited comment on BEAM-4328 at 5/16/18 11:35 PM: -------------------------------------------------------------- It's suspicious that the parallel build is broken for {{\-PisRelease}}. When attempting a release build without specifying {{--no-parallel}}, I get all sorts of [weird zlib issues with during compilation|https://scans.gradle.com/s/pb5cbitnjpptw/failure?openFailures=WzBd&openStackTraces=WzIse31d#top=0]: {quote} Error snapshotting jar [beam-runners-core-construction-java-2.5.0.jar] > Unexpected end of ZLIB input stream org.gradle.api.UncheckedIOException: Failed to capture snapshot of input files for task ':beam-runners-core-java:compileJava' property 'classpath' during up-to-date check. Caused by: org.gradle.api.UncheckedIOException: Error snapshotting jar [beam-runners-core-construction-java-2.5.0.jar] Caused by: java.io.EOFException: Unexpected end of ZLIB input stream {quote} This makes me think there's some dependency declaration missing on the release build. I'll investigate this tomorrow further. was (Author: swegner): It's suspicious that the parallel build is broken for {{-PisRelease}}. When attempting a release build without specifying {{--no-parallel}}, I get all sorts of [weird zlib issues with during compilation|https://scans.gradle.com/s/pb5cbitnjpptw/failure?openFailures=WzBd&openStackTraces=WzIse31d#top=0]: {quote} Error snapshotting jar [beam-runners-core-construction-java-2.5.0.jar] > Unexpected end of ZLIB input stream org.gradle.api.UncheckedIOException: Failed to capture snapshot of input files for task ':beam-runners-core-java:compileJava' property 'classpath' during up-to-date check. Caused by: org.gradle.api.UncheckedIOException: Error snapshotting jar [beam-runners-core-construction-java-2.5.0.jar] Caused by: java.io.EOFException: Unexpected end of ZLIB input stream {quote} This makes me think there's some dependency declaration missing on the release build. I'll investigate this tomorrow further. > gradle release build failed on task > :beam-sdks-java-io-google-cloud-platform:test > --------------------------------------------------------------------------------- > > Key: BEAM-4328 > URL: https://issues.apache.org/jira/browse/BEAM-4328 > Project: Beam > Issue Type: Bug > Components: build-system > Reporter: Boyuan Zhang > Assignee: Luke Cwik > Priority: Major > > Running cmd against master branch: ./gradlew clean & ./gradlew -PisRelease > build > --no-parallel failed into task :beam-sdks-java-io-google-cloud-platform:test. > Gradle scan: > [https://scans.gradle.com/s/sjwr5mixxwen2/console-log?task=:beam-sdks-java-io-google-cloud-platform:test] > > Running ./gradlew clean && ./gradlew > :beam-sdks-java-io-google-cloud-platform:test -PisRelease > --no-parallel succeed: > [https://scans.gradle.com/s/rvf7gajba7who|https://www.google.com/url?q=https://scans.gradle.com/s/rvf7gajba7who&sa=D&source=hangouts&ust=1526598527775000&usg=AFQjCNElmRkjXFh0W-5qxPHJ1h0YMh_jgw] -- This message was sent by Atlassian JIRA (v7.6.3#76005)