Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrent executions of 'installLiberty' task result in "java.io.EOFException: Unexpected end of ZLIB input stream" #841

Open
scottkurz opened this issue Jul 18, 2023 · 0 comments

Comments

@scottkurz
Copy link
Member

E.g. in the MP Starter GHA check: https://github.com/eclipse/microprofile-starter/actions/runs/5580681548?pr=486
we have serviceA and serviceB doing a gradlew libertyPackage in two threads, simultaneously.

This task depends on 'installLiberty'.

One of the invocations completes successfully... the other fails with:

To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/6.9.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build 
> Task :installLiberty FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':installLiberty'.
> java.io.EOFException: Unexpected end of ZLIB input stream

I tried a couple of setup tweaks, none of which made a difference:

  1. Running with a common daemon vs. running each invocation in its own daemon instance (note the message I pasted above has each using its own instance, --no-daemon
  2. varying Gradle version.... not sure I took 100% accurate notes but I believe I tried both 6.9.4 and 6.8.3
  3. varying LGP version.. I believe I tried v3.3.1 and v3.5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant