quarkus: Native Docker image build stuck in 1.11.0.Final

Describe the bug

Hi, I’ve just upgraded my project to version 1.11.0.Final.

When I try to build the Docker native image, the building process simply gets stuck and doesn’t move forward, as we can see in the picture below (the 3rd screen on the bottom, it’s running docker stats and the container pedantic_kepler has 0% of CPU)

Note that, I am using quay.io/quarkus/ubi-quarkus-native-image:20.2.0-java11 instead of quay.io/quarkus/ubi-quarkus-native-image:20.3.0-java11 as explained in the Migration Guide. I’ve tried also with quay.io/quarkus/ubi-quarkus-mandrel:20.3-java11 and I have the same problem.

Besides, the container is hard to kill

$ docker rm -fv $(docker ps -a -q)
Error response from daemon: Could not kill running container 49434b..., cannot remove - container 49434b... PID 1911 is zombie and can not be killed. Use the --init option when creating containers to run an init inside the container that forwards signals and reaps processes

Looks like GraalVM 20.3.1 is already available. Looking forward to the Quarkus upgrade!

Thanks!

Expected behavior I should be able to build the docker image

Actual behavior I am not able to build the docker image

To Reproduce

Here is the link to the project: https://github.com/ivangfr/graalvm-quarkus-micronaut-springboot/tree/master/simple-api/quarkus-simple-api

Steps to reproduce the behavior:

  1. git clone https://github.com/ivangfr/graalvm-quarkus-micronaut-springboot.git
  2. checkout to branch update-to-quarkus-1.11.x.Final
  3. follow the steps describe in this doc how to build the Docker native image

Screenshots Screen Shot 2021-01-23 at 10 33 06

Environment (please complete the following information):

  • Output of uname -a or ver: Darwin Ivans-MacBook-Pro-2.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Nov 10 00:07:31 PST 2020; root:xnu-4903.278.51~1/RELEASE_X86_64 x86_64
  • Output of java -version:
    openjdk version "11.0.9.1" 2020-11-04
    OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9.1+1)
    OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode)
    
  • GraalVM version (if different from Java):
  • Quarkus version or git rev: 1.11.0.Final
  • Build tool (ie. output of mvnw --version or gradlew --version):
    Maven home: /.m2/wrapper/dists/apache-maven-3.6.3-bin/1iopthnavndlasol9gbrbg6bf2/apache-maven-3.6.3
    Java version: 11.0.9.1, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
    Default locale: en_BR, platform encoding: UTF-8
    OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
    

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 27 (12 by maintainers)

Commits related to this issue

Most upvoted comments

Right now, when I run the command you shared, it gets stuck on the 1st try.

Yes, it looks like Graal 21.0.0 will be available in Quarkus 1.12 (#14512 got merged today).

Please close this issue if you think it’s now resolved.