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

[quarkus-container-image-jib] No progress after "Container entrypoint set to" with quarkus 3.17.6 (3.15.2 works) #45496

Open
clahres opened this issue Jan 10, 2025 · 9 comments
Labels
area/container-image env/windows Impacts Windows machines kind/bug Something isn't working kind/bug-thirdparty Bugs that are caused by third-party components and not causing a major dysfunction of core Quarkus. triage/needs-feedback We are waiting for feedback.

Comments

@clahres
Copy link

clahres commented Jan 10, 2025

Describe the bug

When running the quickstart "getting-startet-reactive" with quarkus-container-image-jib plugin, the build stops progress at

[INFO] [io.quarkus.container.image.jib.deployment.JibProcessor] Container entrypoint set to [/opt/jboss/container/java/run/run-java.sh]

Expected behavior

Build finishes

Actual behavior

Build does not finish

How to Reproduce?

  • checkout getting-startet-reactive
  • add dependency quarkus-container-image-jib
  • add property <quarkus.container-image.build>true</quarkus.container-image.build>
  • run .\mvnw clean install

Output of uname -a or ver

OS: Windows 10 Pro; Version: 22H2; OS build: 19045.5247

Output of java -version

openjdk-23.0.1

Quarkus version or git rev

3.17.6

Build tool (ie. output of mvnw --version or gradlew --version)

maven-3.9.9

Additional information

When I use quarkus 3.15.2, the build finishes successfully.
Maybe this is related? GoogleContainerTools/jib#4267

@clahres clahres added the kind/bug Something isn't working label Jan 10, 2025
@quarkus-bot quarkus-bot bot added area/container-image env/windows Impacts Windows machines labels Jan 10, 2025
Copy link

quarkus-bot bot commented Jan 10, 2025

/cc @geoand (jib)

@geoand
Copy link
Contributor

geoand commented Jan 10, 2025

I could not reproduce this problem

@geoand geoand added the triage/needs-feedback We are waiting for feedback. label Jan 10, 2025
@clahres
Copy link
Author

clahres commented Jan 10, 2025

Ok, I'll take a look into it. I thought this may be a windows problem.

@HerrDerb
Copy link
Contributor

HerrDerb commented Jan 14, 2025

I experience the same with out project that is using gradle. Likely the same issue🤷‍♂️I think I also can confirm that it only occurred on windows, on unix/mac it runs through.
Right after

2025-01-14T09:20:21.965+0100 [INFO] [io.quarkus.container.image.jib.deployment.JibProcessor] Container entrypoint set to [./application, -Djava.net.preferIPv4Stack=true,  -XX:+ExitOnOutOfMemoryError, -XX:MaxDirectMemorySize=80m]

gradle seems to be blocked/waiting with no further logs of the build process

2025-01-14T09:22:02.698+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2025-01-14T09:22:02.699+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2025-01-14T09:22:02.699+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2025-01-14T09:22:02.700+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2025-01-14T09:22:02.700+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2025-01-14T09:22:02.701+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2025-01-14T09:22:12.694+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2025-01-14T09:22:12.694+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2025-01-14T09:22:12.694+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2025-01-14T09:22:12.695+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2025-01-14T09:22:12.695+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2025-01-14T09:22:12.695+0100 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
...

@geoand
Copy link
Contributor

geoand commented Jan 15, 2025

Does the same thing happens with a Windows + Maven setup?

@geoand geoand added the triage/needs-feedback We are waiting for feedback. label Jan 15, 2025
@HerrDerb
Copy link
Contributor

@geoand I think @clahres described it with Windows + Maven. But as the issue he also attached, it looks like jib itself struggled with a "Deadlock on windows on build" lately, so it might not be an issue of quarkus. https://github.com/GoogleContainerTools/jib/releases

Bug might have been introduced with: GoogleContainerTools/jib#4249

@geoand
Copy link
Contributor

geoand commented Jan 15, 2025

Has anyone taken it up with the Jib team?

@geoand geoand added the kind/bug-thirdparty Bugs that are caused by third-party components and not causing a major dysfunction of core Quarkus. label Jan 15, 2025
@HerrDerb
Copy link
Contributor

HerrDerb commented Jan 15, 2025

There is a rather basic reopen: GoogleContainerTools/jib#4339
I might fill it in a bit more and mention that it has gotten an issue when using quarkus

@geoand
Copy link
Contributor

geoand commented Jan 15, 2025

🙏🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/container-image env/windows Impacts Windows machines kind/bug Something isn't working kind/bug-thirdparty Bugs that are caused by third-party components and not causing a major dysfunction of core Quarkus. triage/needs-feedback We are waiting for feedback.
Projects
None yet
Development

No branches or pull requests

3 participants