quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.63k stars 2.64k forks source link

Quarkus 1.13.1.Final build native with Madrel ->Invalid version string '20.3.1.2.Final'. #16378

Closed survivant closed 3 years ago

survivant commented 3 years ago

I wanted to test the native mode with Quarkus. I followed this guide : https://quarkus.io/guides/building-native-image#container-runtime

PS. I'm on Windows 10 using docker to build/run images

I created a small project using quarkus code.io

quarkus-native.zip

I did 3 tests.

1 - compile without native (normal.. so not important for this issue)

2 - compile native

3 - compile native with madrel

here the logs for #2

PS F:\junk\code-with-quarkus> mvn package -Pnative "-Dquarkus.native.container-build=true" -DskipTests

[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< org.acme:code-with-quarkus >---------------------
[INFO] Building code-with-quarkus 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.1.Final:generate-code (default) @ code-with-quarkus ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ code-with-quarkus ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ code-with-quarkus ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.1.Final:generate-code-tests (default) @ code-with-quarkus ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ code-with-quarkus ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory F:\junk\code-with-quarkus\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ code-with-quarkus ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ code-with-quarkus ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ code-with-quarkus ---
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.1.Final:build (default) @ code-with-quarkus ---
[INFO] [org.jboss.threads] JBoss Threads version 3.2.0.Final
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Uber JAR strategy is used for native image source JAR generation on Windows. This is done for the time being to work around a current GraalVM limitation on Windows concerning the maximum command length (see https://github.com/oracle/graal/issues/2387).
[INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building fat jar: F:\junk\code-with-quarkus\target\code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar\code-with-quarkus-1.0.0-SNAPSHOT-runner.jar
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-rbac::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-rbac::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-rbac::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-admissionregistration::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-admissionregistration::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-admissionregistration::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-apps::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-apps::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-autoscaling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-autoscaling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-autoscaling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-apiextensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-apiextensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-apiextensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-batch::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-batch::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-batch::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-certificates::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-certificates::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-certificates::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-coordination::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-coordination::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-coordination::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-discovery::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-discovery::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-discovery::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-events::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-events::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-events::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-extensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-extensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-extensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-networking::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-networking::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-networking::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-metrics::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-metrics::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-metrics::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-policy::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-policy::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-policy::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-scheduling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-scheduling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-scheduling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-storageclass::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-storageclass::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-storageclass::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-node::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-node::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-node::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [io.fabric8:kubernetes-model-events::jar:5.2.1(compile), io.fabric8:kubernetes-model-storageclass::jar:5.2.1(compile), io.fabric8:kubernetes-model-rbac::jar:5.2.1(compile), io.fabric8:kubernetes-model-admissionregistration::jar:5.2.1(compile), io.fabric8:kubernetes-model-policy::jar:5.2.1(compile), io.fabric8:kubernetes-model-networking::jar:5.2.1(compile), io.fabric8:kubernetes-model-extensions::jar:5.2.1(compile), io.fabric8:kubernetes-model-core::jar:5.2.1(compile), io.fabric8:kubernetes-model-certificates::jar:5.2.1(compile), io.fabric8:kubernetes-model-autoscaling::jar:5.2.1(compile), io.fabric8:kubernetes-model-metrics::jar:5.2.1(compile), io.fabric8:kubernetes-model-node::jar:5.2.1(compile), io.fabric8:kubernetes-model-apps::jar:5.2.1(compile), io.fabric8:kubernetes-model-discovery::jar:5.2.1(compile), io.fabric8:kubernetes-model-scheduling::jar:5.2.1(compile), io.fabric8:kubernetes-model-coordination::jar:5.2.1(compile), io.fabric8:kubernetes-model-apiextensions::jar:5.2.1(compile), io.fabric8:kubernetes-model-batch::jar:5.2.1(compile)] contain duplicate files, e.g. schema/validation-schema.json
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [io.fabric8:kubernetes-model-events::jar:5.2.1(compile), io.fabric8:kubernetes-model-storageclass::jar:5.2.1(compile), io.fabric8:kubernetes-model-rbac::jar:5.2.1(compile), io.fabric8:kubernetes-model-admissionregistration::jar:5.2.1(compile), io.fabric8:kubernetes-model-policy::jar:5.2.1(compile), io.fabric8:kubernetes-model-networking::jar:5.2.1(compile), io.fabric8:kubernetes-model-extensions::jar:5.2.1(compile), io.fabric8:kubernetes-model-core::jar:5.2.1(compile), io.fabric8:kubernetes-model-certificates::jar:5.2.1(compile), io.fabric8:kubernetes-model-autoscaling::jar:5.2.1(compile), io.fabric8:kubernetes-model-metrics::jar:5.2.1(compile), io.fabric8:kubernetes-model-node::jar:5.2.1(compile), io.fabric8:kubernetes-model-discovery::jar:5.2.1(compile), io.fabric8:kubernetes-model-scheduling::jar:5.2.1(compile), io.fabric8:kubernetes-model-coordination::jar:5.2.1(compile), io.fabric8:kubernetes-model-apiextensions::jar:5.2.1(compile), io.fabric8:kubernetes-model-batch::jar:5.2.1(compile)] contain duplicate files, e.g. manifest.vm
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from F:\junk\code-with-quarkus\target\code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar\code-with-quarkus-1.0.0-SNAPSHOT-runner.jar
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Using docker to run the native image builder
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Checking image status quay.io/quarkus/ubi-quarkus-native-image:21.0.0-java11
21.0.0-java11: Pulling from quarkus/ubi-quarkus-native-image
57de4da701b5: Pull complete
cf0f3ebe9f53: Pull complete
0f7eddd60d0a: Pull complete
Digest: sha256:becf08de869e707beaa5e57444b533ef93ebef15aad90c92ac660ddf7cea2b11
Status: Downloaded newer image for quay.io/quarkus/ubi-quarkus-native-image:21.0.0-java11
quay.io/quarkus/ubi-quarkus-native-image:21.0.0-java11
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version 21.0.0 (Java Version 11.0.10+8-jvmci-21.0-b06)
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm -v //f/junk/code-with-quarkus/target/code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar:/project:z quay.io/quarkus/ubi-quarkus-native-image:21.0.0-java11 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=1 -J-Duser.language=fr -J-Duser.country=CA -J-Dfile.encoding=UTF-8 --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+JNI -H:+AllowFoldMethods -jar code-with-quarkus-1.0.0-SNAPSHOT-runner.jar -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:EnableURLProtocols=http,https --enable-all-security-services -H:-UseServiceLoaderFeature -H:+StackTrace code-with-quarkus-1.0.0-SNAPSHOT-runner
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]    classlist:  13 170,14 ms,  0,94 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]        (cap):     753,21 ms,  0,94 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]        setup:   2 835,91 ms,  0,94 GB
00:31:07,352 INFO  [org.jbo.threads] JBoss Threads version 3.2.0.Final
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]     (clinit):   1 588,20 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]   (typeflow):  30 064,91 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]    (objects):  59 123,31 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]   (features):   2 051,67 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]     analysis:  96 585,97 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]     universe:   3 990,90 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]      (parse):  18 654,62 ms,  5,72 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]     (inline):   5 278,52 ms,  6,02 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]    (compile):  50 585,12 ms,  6,98 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]      compile:  78 410,49 ms,  6,98 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]        image:  12 288,81 ms,  6,98 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]        write:   2 631,13 ms,  6,98 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]      [total]: 210 478,24 ms,  6,98 GB
[WARNING] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] objcopy executable not found in PATH. Debug symbols will not be separated from executable.
[WARNING] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] That will result in a larger native image with debug symbols embedded in it.
[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 330913ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:36 min
[INFO] Finished at: 2021-04-08T20:33:44-04:00
[INFO] ------------------------------------------------------------------------
PS F:\junk\code-with-quarkus> mvn clean
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< org.acme:code-with-quarkus >---------------------
[INFO] Building code-with-quarkus 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ code-with-quarkus ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.002 s
[INFO] Finished at: 2021-04-08T20:36:46-04:00
[INFO] ------------------------------------------------------------------------

here the logs for #3


PS F:\junk\code-with-quarkus> mvn package -Pnative "-Dquarkus.native.container-build=true" "-Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:20.3.1.2.Final-java11" -DskipTests
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< org.acme:code-with-quarkus >---------------------
[INFO] Building code-with-quarkus 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.1.Final:generate-code (default) @ code-with-quarkus ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ code-with-quarkus ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ code-with-quarkus ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.1.Final:generate-code-tests (default) @ code-with-quarkus ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ code-with-quarkus ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory F:\junk\code-with-quarkus\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ code-with-quarkus ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ code-with-quarkus ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ code-with-quarkus ---
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.1.Final:build (default) @ code-with-quarkus ---
[INFO] [org.jboss.threads] JBoss Threads version 3.2.0.Final
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Uber JAR strategy is used for native image source JAR generation on Windows. This is done for the time being to work around a current GraalVM limitation on Windows concerning the maximum command length (see https://github.com/oracle/graal/issues/2387).
[INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building fat jar: F:\junk\code-with-quarkus\target\code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar\code-with-quarkus-1.0.0-SNAPSHOT-runner.jar
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-rbac::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-rbac::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-rbac::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-admissionregistration::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-admissionregistration::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-admissionregistration::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-apps::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-apps::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-autoscaling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-autoscaling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-autoscaling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-apiextensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-apiextensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-apiextensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-batch::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-batch::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-batch::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-certificates::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-certificates::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-certificates::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-coordination::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-coordination::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-coordination::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-discovery::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-discovery::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-discovery::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-events::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-events::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-events::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-extensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-extensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-extensions::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-networking::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-networking::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-networking::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-metrics::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-metrics::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-metrics::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-policy::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-policy::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-policy::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-scheduling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-scheduling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-scheduling::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-storageclass::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-storageclass::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-storageclass::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/validation-schema.json entry from io.fabric8:kubernetes-model-node::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry schema/kube-schema.json entry from io.fabric8:kubernetes-model-node::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Duplicate entry manifest.vm entry from io.fabric8:kubernetes-model-node::jar:5.2.1(compile) will be ignored. Existing file was provided by io.fabric8:kubernetes-model-core::jar:5.2.1(compile)
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [io.fabric8:kubernetes-model-events::jar:5.2.1(compile), io.fabric8:kubernetes-model-storageclass::jar:5.2.1(compile), io.fabric8:kubernetes-model-rbac::jar:5.2.1(compile), io.fabric8:kubernetes-model-admissionregistration::jar:5.2.1(compile), io.fabric8:kubernetes-model-policy::jar:5.2.1(compile), io.fabric8:kubernetes-model-networking::jar:5.2.1(compile), io.fabric8:kubernetes-model-extensions::jar:5.2.1(compile), io.fabric8:kubernetes-model-core::jar:5.2.1(compile), io.fabric8:kubernetes-model-certificates::jar:5.2.1(compile), io.fabric8:kubernetes-model-autoscaling::jar:5.2.1(compile), io.fabric8:kubernetes-model-metrics::jar:5.2.1(compile), io.fabric8:kubernetes-model-node::jar:5.2.1(compile), io.fabric8:kubernetes-model-apps::jar:5.2.1(compile), io.fabric8:kubernetes-model-discovery::jar:5.2.1(compile), io.fabric8:kubernetes-model-scheduling::jar:5.2.1(compile), io.fabric8:kubernetes-model-coordination::jar:5.2.1(compile), io.fabric8:kubernetes-model-apiextensions::jar:5.2.1(compile), io.fabric8:kubernetes-model-batch::jar:5.2.1(compile)] contain duplicate files, e.g. schema/validation-schema.json
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [io.fabric8:kubernetes-model-events::jar:5.2.1(compile), io.fabric8:kubernetes-model-storageclass::jar:5.2.1(compile), io.fabric8:kubernetes-model-rbac::jar:5.2.1(compile), io.fabric8:kubernetes-model-admissionregistration::jar:5.2.1(compile), io.fabric8:kubernetes-model-policy::jar:5.2.1(compile), io.fabric8:kubernetes-model-networking::jar:5.2.1(compile), io.fabric8:kubernetes-model-extensions::jar:5.2.1(compile), io.fabric8:kubernetes-model-core::jar:5.2.1(compile), io.fabric8:kubernetes-model-certificates::jar:5.2.1(compile), io.fabric8:kubernetes-model-autoscaling::jar:5.2.1(compile), io.fabric8:kubernetes-model-metrics::jar:5.2.1(compile), io.fabric8:kubernetes-model-node::jar:5.2.1(compile), io.fabric8:kubernetes-model-discovery::jar:5.2.1(compile), io.fabric8:kubernetes-model-scheduling::jar:5.2.1(compile), io.fabric8:kubernetes-model-coordination::jar:5.2.1(compile), io.fabric8:kubernetes-model-apiextensions::jar:5.2.1(compile), io.fabric8:kubernetes-model-batch::jar:5.2.1(compile)] contain duplicate files, e.g. manifest.vm
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from F:\junk\code-with-quarkus\target\code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar\code-with-quarkus-1.0.0-SNAPSHOT-runner.jar
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Using docker to run the native image builder
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Checking image status quay.io/quarkus/ubi-quarkus-mandrel:20.3.1.2.Final-java11
20.3.1.2.Final-java11: Pulling from quarkus/ubi-quarkus-mandrel
57de4da701b5: Already exists
cf0f3ebe9f53: Already exists
6c87e97b25dd: Pull complete
Digest: sha256:55ea28a783b06725e13a629baa2a4237e46c6957bbaef596c8527c19602d5e0d
Status: Downloaded newer image for quay.io/quarkus/ubi-quarkus-mandrel:20.3.1.2.Final-java11
quay.io/quarkus/ubi-quarkus-mandrel:20.3.1.2.Final-java11
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version 20.3.1.2.Final (Mandrel Distribution) (Java Version 11.0.10+9)
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm -v //f/junk/code-with-quarkus/target/code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar:/project:z quay.io/quarkus/ubi-quarkus-mandrel:20.3.1.2.Final-java11 -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=1 -J-Duser.language=fr -J-Duser.country=CA -J-Dfile.encoding=UTF-8 --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+JNI -H:+AllowFoldMethods -jar code-with-quarkus-1.0.0-SNAPSHOT-runner.jar -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:EnableURLProtocols=http,https --enable-all-security-services -H:-UseServiceLoaderFeature -H:+StackTrace code-with-quarkus-1.0.0-SNAPSHOT-runner
[code-with-quarkus-1.0.0-SNAPSHOT-runner:56]    classlist:  12 400,39 ms,  0,96 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:56]        setup:     773,06 ms,  0,96 GB
Fatal error:java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Invalid version string '20.3.1.2.Final'.
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:600)
        at java.base/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:1006)
        at com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:481)
        at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:370)
        at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:529)
        at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:119)
        at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:561)
Caused by: java.lang.IllegalArgumentException: Invalid version string '20.3.1.2.Final'.
        at org.graalvm.sdk/org.graalvm.home.Version.invalid(Version.java:143)
        at org.graalvm.sdk/org.graalvm.home.Version.<init>(Version.java:113)
        at org.graalvm.sdk/org.graalvm.home.Version.parse(Version.java:261)
        at org.graalvm.sdk/org.graalvm.home.Version.getCurrent(Version.java:293)
        at io.quarkus.runtime.graal.Target_java_io_ObjectStreamClass$GraalVM20OrEarlier.getAsBoolean(JavaIOSubstitutions.java:34)
        at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.findTargetClass(AnnotationSubstitutionProcessor.java:893)
        at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.handleClass(AnnotationSubstitutionProcessor.java:287)
        at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.init(AnnotationSubstitutionProcessor.java:265)
        at com.oracle.svm.hosted.NativeImageGenerator.createDeclarativeSubstitutionProcessor(NativeImageGenerator.java:919)
        at com.oracle.svm.hosted.NativeImageGenerator.setupNativeImage(NativeImageGenerator.java:853)
        at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:554)
        at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:469)
        at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Error: Image build request failed with exit status 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:33 min
[INFO] Finished at: 2021-04-08T20:40:25-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.13.1.Final:build (default) on project code-with-quarkus: Failed to build quarkus application: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[ERROR]         [error]: Build step io.quarkus.deployment.pkg.steps.NativeImageBuildStep#build threw an exception: java.lang.RuntimeException: Failed to build native image
[ERROR]         at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.build(NativeImageBuildStep.java:209)
[ERROR]         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR]         at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
[ERROR]         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR]         at java.base/java.lang.reflect.Method.invoke(Method.java:567)
[ERROR]         at io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:920)
[ERROR]         at io.quarkus.builder.BuildContext.run(BuildContext.java:277)
[ERROR]         at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
[ERROR]         at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
[ERROR]         at java.base/java.lang.Thread.run(Thread.java:831)
[ERROR]         at org.jboss.threads.JBossThread.run(JBossThread.java:501)
[ERROR] Caused by: java.lang.RuntimeException: Image generation failed. Exit code: 1
[ERROR]         at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.imageGenerationFailed(NativeImageBuildStep.java:350)
[ERROR]         at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.build(NativeImageBuildStep.java:181)
[ERROR]         ... 10 more
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
PS F:\junk\code-with-quarkus>
quarkus-bot[bot] commented 3 years ago

/cc @galderz, @geoand, @zakkak

survivant commented 3 years ago

and a little question. What that means those logs ? 6,98 GB

[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]    classlist:  13 170,14 ms,  0,94 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]        (cap):     753,21 ms,  0,94 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]        setup:   2 835,91 ms,  0,94 GB
00:31:07,352 INFO  [org.jbo.threads] JBoss Threads version 3.2.0.Final
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]     (clinit):   1 588,20 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]   (typeflow):  30 064,91 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]    (objects):  59 123,31 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]   (features):   2 051,67 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]     analysis:  96 585,97 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]     universe:   3 990,90 ms,  5,04 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]      (parse):  18 654,62 ms,  5,72 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]     (inline):   5 278,52 ms,  6,02 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]    (compile):  50 585,12 ms,  6,98 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]      compile:  78 410,49 ms,  6,98 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]        image:  12 288,81 ms,  6,98 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]        write:   2 631,13 ms,  6,98 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:25]      [total]: 210 478,24 ms,  6,98 GB

just curious

geoand commented 3 years ago

@zakkak it looks like GraalVM does not like the Final suffix that Mandrel adds

zakkak commented 3 years ago

Yes, that's a known issue fixed in the latest Mandrel images.

@survivant can you please try with -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:20.3.1.2-Final-java11 or even better -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:20.3-java11.

What I don't understand is why https://quarkus.io/guides/building-native-image#container-runtime still shows {mandrel-flavor} instead of the right tag. This should have been fixed by https://github.com/quarkusio/quarkus/pull/15675

and a little question. What that means those logs ? 6,98 GB

It's the amount of memory used by native-image at each step while building the native image.

survivant commented 3 years ago

it passed, but I don't see Docker building this application container image. Do I have to include docker dependances in my pom.xml ? and Another question. I'm on Windows. There is no point of building the native image if I don't use it in docker/podman ?

PS C:\junk\quarkus-native\code-with-quarkus> mvn package -Pnative -DskipTests "-Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:20.3-java11" "-Dquarkus.native.container-build=true"
....
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm -v //c/junk/quarkus-native/code-with-quarkus/target/code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar:/project:z quay.io/quarkus/ubi-quarkus-mandrel:20.3-java11 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=1 -J-Duser.language=fr -J-Duser.country=CA -J-Dfile.encoding=UTF-8 --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+JNI -H:+AllowFoldMethods -jar code-with-quarkus-1.0.0-SNAPSHOT-runner.jar -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:EnableURLProtocols=http,https --enable-all-security-services -H:-UseServiceLoaderFeature -H:+StackTrace code-with-quarkus-1.0.0-SNAPSHOT-runner
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]    classlist:  22 456,44 ms,  0,96 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]        (cap):   1 801,57 ms,  0,96 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]        setup:   6 705,08 ms,  0,96 GB
13:10:09,706 INFO  [org.jbo.threads] JBoss Threads version 3.2.0.Final
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]     (clinit):   2 428,66 ms,  5,62 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]   (typeflow):  65 023,76 ms,  5,62 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]    (objects): 100 149,74 ms,  5,62 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]   (features):   3 202,74 ms,  5,62 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]     analysis: 175 340,30 ms,  5,62 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]     universe:   5 696,52 ms,  5,62 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]      (parse):  33 680,38 ms,  6,75 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]     (inline):   7 982,04 ms,  6,34 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]    (compile):  56 326,06 ms,  7,25 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]      compile: 102 421,78 ms,  7,25 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]        image:  18 967,25 ms,  7,14 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]        write:   3 758,94 ms,  7,14 GB
[code-with-quarkus-1.0.0-SNAPSHOT-runner:59]      [total]: 336 560,33 ms,  7,14 GB
[WARNING] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] objcopy executable not found in PATH. Debug symbols will not be separated from executable.
[WARNING] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] That will result in a larger native image with debug symbols embedded in it.
[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 449098ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  07:39 min
[INFO] Finished at: 2021-04-09T09:13:39-04:00
[INFO] ------------------------------------------------------------------------
zakkak commented 3 years ago

it passed, but I don't see Docker building this application container image. Do I have to include docker dependances in my pom.xml ?

If I understand correctly you are interested in https://quarkus.io/guides/building-native-image#creating-a-container

I'm on Windows. There is no point of building the native image if I don't use it in docker/podman ?

Correct, unless you build the native image without -Dquarkus.native.container-build=true and by setting GRAALVM_HOME to point to the local installation of GraalVM. This will allow you to generate a native image that can run on Windows. Note however that this is a bit more complex and has some extra requirements.

survivant commented 3 years ago

my goal is to try to use the native build for my docker image that I'll deploy in Kubernetes

What I'm using right now is this command line :

mvn clean package -Dquarkus.container-image.push=true

or this

docker build -f Dockerfile -t docker.private.com:5000/kubernetes-api:master .
docker push docker.private.com:5000/kubernetes-api:master

PS. I added this in my pom.xml demo

        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-container-image-docker</artifactId>
        </dependency>

when I'm build my demo with this command line

mvn package -Pnative -DskipTests "-Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:20.3-java11" "-Dquarkus.native.container-build=true"

it doesn't build the docker image. What is the param that is missing ?

zakkak commented 3 years ago

I don't see anything missing :/

I can build a container image with:

curl -O -J  https://code.quarkus.io/api/download
unzip code-with-quarkus.zip                                                        
cd code-with-quarkus
./mvnw quarkus:add-extension -Dextensions="container-image-docker"
./mvnw clean package \
    -Pnative \
    -Dquarkus.native.container-build=true \
    -Dquarkus.container-image.build=true \
    -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:20.3-java11
$ docker images | head -n 2
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
REPOSITORY                                                                      TAG                    IMAGE ID      CREATED        SIZE
localhost/zakkak/code-with-quarkus                                              1.0.0-SNAPSHOT         a9c48b1ba974  2 minutes ago  134 MB

Keep in mind that this is on Linux using podman though.

survivant commented 3 years ago

I found the issue... man.. it wasn't clear. check that

Your

./mvnw clean package \
    -Pnative \
    -Dquarkus.native.container-build=true \
    -Dquarkus.container-image.build=true \
    -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:20.3-java11

Mine

./mvnw clean package \
    -Pnative \
    -Dquarkus.native.container-build=true \
    -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:20.3-java11

the param -Dquarkus.container-image.build=true was missing in my command line. Should it be enabled when we specify -Dquarkus.native.container-build=true ?

zakkak commented 3 years ago

Uh right! I thought you had tried that, my bad.

the param -Dquarkus.container-image.build=true was missing in my command line. Should it be enabled when we specify -Dquarkus.native.container-build=true ?

So yes if you want a native application packaged in a container you need both.