quarkusio / quarkus

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

class is instantiated reflectively but was never registered #17806

Closed survivant closed 2 years ago

survivant commented 3 years ago

I try to follow this guide : https://quarkus.io/guides/writing-native-applications-tips

in application.properties I have this

quarkus.native.additional-build-args=-H:ReflectionConfigurationFiles=reflection-config.json

I added the file reflection-config.json in : src/main/resources/reflection-config.json

the content :

[
  {
    "name" : "com.comact.logging.bean.LoggerSetting",
    "allDeclaredConstructors" : true,
    "allPublicConstructors" : true,
    "allDeclaredMethods" : true,
    "allPublicMethods" : true,
    "allDeclaredFields" : true,
    "allPublicFields" : true
  }
]

I also add this class

import com.comact.logging.bean.LoggerSetting;
import io.quarkus.runtime.annotations.RegisterForReflection;

@RegisterForReflection(targets={LoggerSetting.class, LoggerSetting[].class})
public class MyReflectionConfiguration {
    // for reflection
}

I build the application with

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

In the logs I have those errors

2021-06-09 14:14:17,277 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-1) HTTP Request to /api/v1/loggers/available failed, error id: ee73bb6f-26e6-41ce-a118-cc2e0eed92de-2: org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalArgumentException: Class com.comact.logging.bean.LoggerSetting[] is instantiated reflectively but was never registered. Register the class by using org.graalvm.nativeimage.hosted.RuntimeReflection
        at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:381)
        at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
        at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
        at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
        at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
        at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:138)
        at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.access$000(VertxRequestHandler.java:41)
        at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:93)
        at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
        at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
        at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
        at java.lang.Thread.run(Thread.java:834)
        at org.jboss.threads.JBossThread.run(JBossThread.java:501)
        at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:519)
        at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
Caused by: java.lang.IllegalArgumentException: Class com.comact.logging.bean.LoggerSetting[] is instantiated reflectively but was never registered. Register the class by using org.graalvm.nativeimage.hosted.RuntimeReflection
        at com.oracle.svm.core.graal.snippets.SubstrateAllocationSnippets.arrayHubErrorStub(SubstrateAllocationSnippets.java:281)
        at com.comact.iep.logging.LoggingController.init(LoggingController.java:57)
        at com.comact.iep.logging.LoggingController_Bean.create(LoggingController_Bean.zig:363)
        at com.comact.iep.logging.LoggingController_Bean.create(LoggingController_Bean.zig:379)
        at io.quarkus.arc.impl.AbstractSharedContext.createInstanceHandle(AbstractSharedContext.java:96)
        at io.quarkus.arc.impl.AbstractSharedContext.access$000(AbstractSharedContext.java:14)
        at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:29)
        at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:26)
        at io.quarkus.arc.impl.LazyValue.get(LazyValue.java:26)
        at io.quarkus.arc.impl.ComputingCache.computeIfAbsent(ComputingCache.java:69)
        at io.quarkus.arc.impl.AbstractSharedContext.get(AbstractSharedContext.java:26)
        at com.comact.iep.logging.LoggingController_Bean.get(LoggingController_Bean.zig:411)
        at com.comact.iep.logging.LoggingController_Bean.get(LoggingController_Bean.zig:427)
        at io.quarkus.arc.impl.ArcContainerImpl.beanInstanceHandle(ArcContainerImpl.java:430)
        at io.quarkus.arc.impl.ArcContainerImpl.beanInstanceHandle(ArcContainerImpl.java:443)
        at io.quarkus.arc.impl.ArcContainerImpl$1.get(ArcContainerImpl.java:266)
        at io.quarkus.arc.impl.ArcContainerImpl$1.get(ArcContainerImpl.java:263)
        at io.quarkus.arc.runtime.BeanContainerImpl$1.create(BeanContainerImpl.java:35)
        at io.quarkus.resteasy.common.runtime.QuarkusConstructorInjector.construct(QuarkusConstructorInjector.java:54)
        at org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.createResource(POJOResourceFactory.java:71)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:401)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:69)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
        ... 17 more
quarkus-bot[bot] commented 3 years ago

/cc @galderz, @zakkak

zakkak commented 3 years ago

@survivant can you please provide the output of :

mvn clean package -Pnative -DskipTests \
    "-Dquarkus.native.container-build=true" \
    "-Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:21.0-java11" \
    "-Dquarkus.container-image.build=true" \
    "-Dquarkus.native.additional-build-args='--native-image-info,--verbose'"

?

survivant commented 3 years ago

here the output

PS C:\workspace\bidgroup\kubernetes-api> mvn clean package -Pnative -DskipTests  "-Dquarkus.native.container-build=true"  "-Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:21.0-java11"  "-Dquarkus.container-image.build=true"   "-Dquarkus.native.additional-build-args='--native-image-info,--verb
ose'"
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< com.comact.iep.api:kubernetes-api >------------------
[INFO] Building kubernetes-api 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kubernetes-api ---
[INFO] Deleting C:\workspace\bidgroup\kubernetes-api\target
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.6.Final:generate-code (default) @ kubernetes-api ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ kubernetes-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ kubernetes-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 31 source files to C:\workspace\bidgroup\kubernetes-api\target\classes
[INFO] /C:/workspace/bidgroup/kubernetes-api/src/main/java/com/comact/iep/api/kubernetes/WaitForCleanup.java: C:\workspace\bidgroup\kubernetes-api\src\main\java\com\comact\iep\api\kubernetes\WaitForCleanup.java uses unchecked or unsafe operations.
[INFO] /C:/workspace/bidgroup/kubernetes-api/src/main/java/com/comact/iep/api/kubernetes/WaitForCleanup.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.6.Final:generate-code-tests (default) @ kubernetes-api ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ kubernetes-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ kubernetes-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to C:\workspace\bidgroup\kubernetes-api\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ kubernetes-api ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ kubernetes-api ---
[INFO] Building jar: C:\workspace\bidgroup\kubernetes-api\target\kubernetes-api-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.6.Final:build (default) @ kubernetes-api ---
[INFO] [org.jboss.threads] JBoss Threads version 3.2.0.Final
[WARNING] [io.quarkus.arc.processor.BeanArchives] Failed to index org.springframework.boot.actuate.logging.LoggersEndpoint: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader
[INFO] [io.quarkus.arc.processor.IndexClassLookupUtils] Class for name: org.springframework.boot.actuate.logging.LoggersEndpoint was not found in Jandex index. Please ensure the class is part of the index.
[INFO] Checking for existing resources in: C:\workspace\bidgroup\kubernetes-api\src\main\kubernetes.
[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/238
7).
[INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building fat jar: C:\workspace\bidgroup\kubernetes-api\target\kubernetes-api-1.0.0-SNAPSHOT-native-image-source-jar\kubernetes-api-1.0.0-SNAPSHOT-runner.jar
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [jakarta.el:jakarta.el-api::jar:3.0.3(compile), org.glassfish:jakarta.el::jar:3.0.3(compile)] contain duplicate files, e.g. javax/el/StaticFieldELResolver.class
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [io.fabric8:kubernetes-model-discovery::jar:5.3.1(compile), io.fabric8:kubernetes-model-scheduling::jar:5.3.1(compile), io.fabric8:kubernetes-model-core::jar:5.3.1(compile), io.fabric8:kub
ernetes-model-apps::jar:5.3.1(compile), io.fabric8:kubernetes-model-metrics::jar:5.3.1(compile), io.fabric8:kubernetes-model-autoscaling::jar:5.3.1(compile), io.fabric8:kubernetes-model-apiextensions::jar:5.3.1(compile), io.fabric8:kubernetes-model-batch::jar:5.3.1(compile), io.fabric8:kubernetes-model-coordina
tion::jar:5.3.1(compile), io.fabric8:kubernetes-model-node::jar:5.3.1(compile), io.fabric8:kubernetes-model-storageclass::jar:5.3.1(compile), io.fabric8:kubernetes-model-rbac::jar:5.3.1(compile), io.fabric8:kubernetes-model-admissionregistration::jar:5.3.1(compile), io.fabric8:kubernetes-model-events::jar:5.3.1
(compile), io.fabric8:kubernetes-model-extensions::jar:5.3.1(compile), io.fabric8:kubernetes-model-networking::jar:5.3.1(compile), io.fabric8:kubernetes-model-policy::jar:5.3.1(compile), io.fabric8:kubernetes-model-certificates::jar:5.3.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 [com.sun.activation:jakarta.activation::jar:1.2.1(compile), jakarta.activation:jakarta.activation-api::jar:1.2.1(compile)] contain duplicate files, e.g. javax/activation/ActivationDataFlav
or.class
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [ch.qos.logback:logback-classic::jar:1.2.3(compile), org.jboss.slf4j:slf4j-jboss-logmanager::jar:1.1.0.Final(compile)] contain duplicate files, e.g. org/slf4j/impl/StaticMarkerBinder.class

[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [io.fabric8:kubernetes-model-discovery::jar:5.3.1(compile), io.fabric8:kubernetes-model-scheduling::jar:5.3.1(compile), io.fabric8:kubernetes-model-core::jar:5.3.1(compile), io.fabric8:kub
ernetes-model-metrics::jar:5.3.1(compile), io.fabric8:kubernetes-model-autoscaling::jar:5.3.1(compile), io.fabric8:kubernetes-model-apiextensions::jar:5.3.1(compile), io.fabric8:kubernetes-model-batch::jar:5.3.1(compile), io.fabric8:kubernetes-model-coordination::jar:5.3.1(compile), io.fabric8:kubernetes-model-
node::jar:5.3.1(compile), io.fabric8:kubernetes-model-storageclass::jar:5.3.1(compile), io.fabric8:kubernetes-model-rbac::jar:5.3.1(compile), io.fabric8:kubernetes-model-admissionregistration::jar:5.3.1(compile), io.fabric8:kubernetes-model-events::jar:5.3.1(compile), io.fabric8:kubernetes-model-extensions::jar
:5.3.1(compile), io.fabric8:kubernetes-model-networking::jar:5.3.1(compile), io.fabric8:kubernetes-model-policy::jar:5.3.1(compile), io.fabric8:kubernetes-model-certificates::jar:5.3.1(compile)] contain duplicate files, e.g. manifest.vm
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [org.jboss.resteasy:resteasy-client::jar:4.5.12.Final(compile), org.jboss.resteasy:resteasy-client-api::jar:4.5.12.Final(compile)] contain duplicate files, e.g. org/jboss/resteasy/client/j
axrs/i18n/Messages.i18n_xx.properties
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider::jar:2.12.3(compile), com.fasterxml.jackson.jaxrs:jackson-jaxrs-base::jar:2.12.3(compile), com.fasterxml.jackson.module:jackson-mod
ule-jaxb-annotations::jar:2.12.3(compile)] contain duplicate files, e.g. META-INF/versions/11/module-info.class
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from C:\workspace\bidgroup\kubernetes-api\target\kubernetes-api-1.0.0-SNAPSHOT-native-image-source-jar\kubernetes-api-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:21.0-java11
21.0-java11: Pulling from quarkus/ubi-quarkus-mandrel
8f403cb21126: Pull complete
65c0f2178ac8: Pull complete
a0fa68f329c1: Pull complete
Digest: sha256:3835a69ebf47f101944a76e7ab2082834f466a2ff448095245473da401b6d53d
Status: Downloaded newer image for quay.io/quarkus/ubi-quarkus-mandrel:21.0-java11
quay.io/quarkus/ubi-quarkus-mandrel:21.0-java11
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version 21.0.0.0-Final (Mandrel Distribution) (Java Version 11.0.10+9)
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm -v //c/workspace/bidgroup/kubernetes-api/target/kubernetes-api-1.0.0-SNAPSHOT-native-image-source-jar:/project:z quay.io/quarkus/ubi-quarkus-mandrel:21.0-java11 -J-Djava.util.logging.manager=org.jboss.logmanager.LogMana
ger -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Drx.unsafe-disable=true -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.coun
try=CA -J-Dfile.encoding=UTF-8 '--native-image-info --verbose' --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+JNI -H:+AllowFoldMethods -jar kubernetes-api-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 kubernetes-api-1.0.0-SNAPSHOT-runner
Error: Unknown argument: kubernetes-api-1.0.0-SNAPSHOT-runner
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:52 min
[INFO] Finished at: 2021-06-10T07:44:23-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.13.6.Final:build (default) on project kubernetes-api: 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:62)
[ERROR]         at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR]         at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[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:834)
[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 C:\workspace\bidgroup\kubernetes-api>
survivant commented 3 years ago

@zakkak I found a error in the previous logs.. I need to remove the ' ' . the command line will be

mvn clean package -Pnative -DskipTests  "-Dquarkus.native.container-build=true"  "-Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:21.0-java11"  "-Dquarkus.container-image.build=true"   "-Dquarkus.native.additional-build-args=--native-image-info,--verbose"

I'll provide the logs when the compilation is complete.
survivant commented 3 years ago

@zakkak here the log

PS C:\workspace\bidgroup\kubernetes-api> mvn clean package -Pnative -DskipTests "-Dquarkus.native.container-build=true" "-Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:21.0-java11" "-Dquarkus.container-image.build=true" "-Dquarkus.native.additional-build-args=--native-image-info,--verbose"
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< com.comact.iep.api:kubernetes-api >------------------
[INFO] Building kubernetes-api 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kubernetes-api ---
[INFO] Deleting C:\workspace\bidgroup\kubernetes-api\target
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.6.Final:generate-code (default) @ kubernetes-api ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ kubernetes-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 10 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ kubernetes-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 31 source files to C:\workspace\bidgroup\kubernetes-api\target\classes
[INFO] /C:/workspace/bidgroup/kubernetes-api/src/main/java/com/comact/iep/api/kubernetes/WaitForCleanup.java: C:\workspace\bidgroup\kubernetes-api\src\main\java\com\comact\iep\api\kubernetes\WaitForCleanup.java uses unchecked or unsafe operations.
[INFO] /C:/workspace/bidgroup/kubernetes-api/src/main/java/com/comact/iep/api/kubernetes/WaitForCleanup.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.6.Final:generate-code-tests (default) @ kubernetes-api ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ kubernetes-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ kubernetes-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to C:\workspace\bidgroup\kubernetes-api\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ kubernetes-api ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ kubernetes-api ---
[INFO] Building jar: C:\workspace\bidgroup\kubernetes-api\target\kubernetes-api-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- quarkus-maven-plugin:1.13.6.Final:build (default) @ kubernetes-api ---
[INFO] [org.jboss.threads] JBoss Threads version 3.2.0.Final
[WARNING] [io.quarkus.arc.processor.BeanArchives] Failed to index org.springframework.boot.actuate.logging.LoggersEndpoint: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader
[INFO] [io.quarkus.arc.processor.IndexClassLookupUtils] Class for name: org.springframework.boot.actuate.logging.LoggersEndpoint was not found in Jandex index. Please ensure the class is part of the index.
[INFO] Checking for existing resources in: C:\workspace\bidgroup\kubernetes-api\src\main\kubernetes.
[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/238
7).
[INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building fat jar: C:\workspace\bidgroup\kubernetes-api\target\kubernetes-api-1.0.0-SNAPSHOT-native-image-source-jar\kubernetes-api-1.0.0-SNAPSHOT-runner.jar
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [jakarta.el:jakarta.el-api::jar:3.0.3(compile), org.glassfish:jakarta.el::jar:3.0.3(compile)] contain duplicate files, e.g. javax/el/StaticFieldELResolver.class
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [io.fabric8:kubernetes-model-discovery::jar:5.3.1(compile), io.fabric8:kubernetes-model-scheduling::jar:5.3.1(compile), io.fabric8:kubernetes-model-core::jar:5.3.1(compile), io.fabric8:kub
ernetes-model-apps::jar:5.3.1(compile), io.fabric8:kubernetes-model-metrics::jar:5.3.1(compile), io.fabric8:kubernetes-model-autoscaling::jar:5.3.1(compile), io.fabric8:kubernetes-model-apiextensions::jar:5.3.1(compile), io.fabric8:kubernetes-model-batch::jar:5.3.1(compile), io.fabric8:kubernetes-model-coordina
tion::jar:5.3.1(compile), io.fabric8:kubernetes-model-node::jar:5.3.1(compile), io.fabric8:kubernetes-model-storageclass::jar:5.3.1(compile), io.fabric8:kubernetes-model-rbac::jar:5.3.1(compile), io.fabric8:kubernetes-model-admissionregistration::jar:5.3.1(compile), io.fabric8:kubernetes-model-events::jar:5.3.1
(compile), io.fabric8:kubernetes-model-extensions::jar:5.3.1(compile), io.fabric8:kubernetes-model-networking::jar:5.3.1(compile), io.fabric8:kubernetes-model-policy::jar:5.3.1(compile), io.fabric8:kubernetes-model-certificates::jar:5.3.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 [com.sun.activation:jakarta.activation::jar:1.2.1(compile), jakarta.activation:jakarta.activation-api::jar:1.2.1(compile)] contain duplicate files, e.g. javax/activation/ActivationDataFlav
or.class
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [ch.qos.logback:logback-classic::jar:1.2.3(compile), org.jboss.slf4j:slf4j-jboss-logmanager::jar:1.1.0.Final(compile)] contain duplicate files, e.g. org/slf4j/impl/StaticMarkerBinder.class

[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [io.fabric8:kubernetes-model-discovery::jar:5.3.1(compile), io.fabric8:kubernetes-model-scheduling::jar:5.3.1(compile), io.fabric8:kubernetes-model-core::jar:5.3.1(compile), io.fabric8:kub
ernetes-model-metrics::jar:5.3.1(compile), io.fabric8:kubernetes-model-autoscaling::jar:5.3.1(compile), io.fabric8:kubernetes-model-apiextensions::jar:5.3.1(compile), io.fabric8:kubernetes-model-batch::jar:5.3.1(compile), io.fabric8:kubernetes-model-coordination::jar:5.3.1(compile), io.fabric8:kubernetes-model-
node::jar:5.3.1(compile), io.fabric8:kubernetes-model-storageclass::jar:5.3.1(compile), io.fabric8:kubernetes-model-rbac::jar:5.3.1(compile), io.fabric8:kubernetes-model-admissionregistration::jar:5.3.1(compile), io.fabric8:kubernetes-model-events::jar:5.3.1(compile), io.fabric8:kubernetes-model-extensions::jar
:5.3.1(compile), io.fabric8:kubernetes-model-networking::jar:5.3.1(compile), io.fabric8:kubernetes-model-policy::jar:5.3.1(compile), io.fabric8:kubernetes-model-certificates::jar:5.3.1(compile)] contain duplicate files, e.g. manifest.vm
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [org.jboss.resteasy:resteasy-client::jar:4.5.12.Final(compile), org.jboss.resteasy:resteasy-client-api::jar:4.5.12.Final(compile)] contain duplicate files, e.g. org/jboss/resteasy/client/j
axrs/i18n/Messages.i18n_xx.properties
[WARNING] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Dependencies with duplicate files detected. The dependencies [com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider::jar:2.12.3(compile), com.fasterxml.jackson.jaxrs:jackson-jaxrs-base::jar:2.12.3(compile), com.fasterxml.jackson.module:jackson-mod
ule-jaxb-annotations::jar:2.12.3(compile)] contain duplicate files, e.g. META-INF/versions/11/module-info.class
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from C:\workspace\bidgroup\kubernetes-api\target\kubernetes-api-1.0.0-SNAPSHOT-native-image-source-jar\kubernetes-api-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:21.0-java11
21.0-java11: Pulling from quarkus/ubi-quarkus-mandrel
Digest: sha256:3835a69ebf47f101944a76e7ab2082834f466a2ff448095245473da401b6d53d
Status: Image is up to date for quay.io/quarkus/ubi-quarkus-mandrel:21.0-java11
quay.io/quarkus/ubi-quarkus-mandrel:21.0-java11
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version 21.0.0.0-Final (Mandrel Distribution) (Java Version 11.0.10+9)
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm -v //c/workspace/bidgroup/kubernetes-api/target/kubernetes-api-1.0.0-SNAPSHOT-native-image-source-jar:/project:z quay.io/quarkus/ubi-quarkus-mandrel:21.0-java11 -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Djava.util.loggin
g.manager=org.jboss.logmanager.LogManager -J-Drx.unsafe-disable=true -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.coun
try=CA -J-Dfile.encoding=UTF-8 --native-image-info --verbose --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+JNI -H:+AllowFoldMethods -jar kubernetes-api-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 kubernetes-api-1.0.0-SNAPSHOT-runner
Apply jar:file:///project/kubernetes-api-1.0.0-SNAPSHOT-runner.jar!/META-INF/native-image/io.netty/codec-http2/native-image.properties
Apply jar:file:///project/kubernetes-api-1.0.0-SNAPSHOT-runner.jar!/META-INF/native-image/io.netty/codec-http/native-image.properties
Apply jar:file:///project/kubernetes-api-1.0.0-SNAPSHOT-runner.jar!/META-INF/native-image/io.netty/transport/native-image.properties
Apply jar:file:///project/kubernetes-api-1.0.0-SNAPSHOT-runner.jar!/META-INF/native-image/io.netty/buffer/native-image.properties
Apply jar:file:///project/kubernetes-api-1.0.0-SNAPSHOT-runner.jar!/META-INF/native-image/io.netty/common/native-image.properties
Apply jar:file:///project/kubernetes-api-1.0.0-SNAPSHOT-runner.jar!/META-INF/native-image/io.netty/handler/native-image.properties
Apply jar:file:///project/kubernetes-api-1.0.0-SNAPSHOT-runner.jar!/META-INF/native-image/org.graalvm.home/native-image.properties
Apply jar:file:///project/kubernetes-api-1.0.0-SNAPSHOT-runner.jar!/META-INF/native-image/org.graalvm.polyglot/native-image.properties
Executing [
/opt/mandrel/bin/java \
-XX:+UseParallelGC \
-XX:+UnlockExperimentalVMOptions \
-XX:+EnableJVMCI \
-Dtruffle.TrustAllTruffleRuntimeProviders=true \
-Dtruffle.TruffleRuntime=com.oracle.truffle.api.impl.DefaultTruffleRuntime \
-Dgraalvm.ForcePolyglotInvalid=true \
-Dgraalvm.locatorDisabled=true \
-Dsubstratevm.IgnoreGraalVersionCheck=true \
--add-exports=java.base/jdk.internal.module=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code.site=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code.stack=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.common=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.aarch64=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.amd64=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot.sparc=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.hotspot=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.runtime=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.services.internal=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.services=ALL-UNNAMED \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.sparc=ALL-UNNAMED \
--add-opens=jdk.internal.vm.compiler/org.graalvm.compiler.debug=ALL-UNNAMED \
--add-opens=jdk.internal.vm.compiler/org.graalvm.compiler.nodes=ALL-UNNAMED \
--add-opens=jdk.unsupported/sun.reflect=ALL-UNNAMED \
--add-opens=java.base/jdk.internal.module=ALL-UNNAMED \
--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED \
--add-opens=java.base/jdk.internal.reflect=ALL-UNNAMED \
--add-opens=java.base/java.io=ALL-UNNAMED \
--add-opens=java.base/java.lang=ALL-UNNAMED \
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED \
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED \
--add-opens=java.base/java.lang.ref=ALL-UNNAMED \
--add-opens=java.base/java.net=ALL-UNNAMED \
--add-opens=java.base/java.nio=ALL-UNNAMED \
--add-opens=java.base/java.nio.file=ALL-UNNAMED \
--add-opens=java.base/java.security=ALL-UNNAMED \
--add-opens=java.base/javax.crypto=ALL-UNNAMED \
--add-opens=java.base/java.util=ALL-UNNAMED \
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED \
--add-opens=java.base/sun.security.x509=ALL-UNNAMED \
--add-opens=java.base/jdk.internal.logger=ALL-UNNAMED \
--add-opens=org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED \
--add-opens=org.graalvm.sdk/org.graalvm.polyglot=ALL-UNNAMED \
--add-opens=org.graalvm.truffle/com.oracle.truffle.polyglot=ALL-UNNAMED \
--add-opens=org.graalvm.truffle/com.oracle.truffle.api.impl=ALL-UNNAMED \
-XX:-UseJVMCICompiler \
-Xss10m \
-Xms1g \
-Xmx14g \
-Duser.country=US \
-Duser.language=en \
-Djava.awt.headless=true \
-Dorg.graalvm.version=21.0.0.0-Final \
'-Dorg.graalvm.config=(Mandrel Distribution)' \
-Dcom.oracle.graalvm.isaot=true \
-Djava.system.class.loader=com.oracle.svm.hosted.NativeImageSystemClassLoader \
-Dawt.toolkit=sun.awt.X11.XToolkit \
-Djava.awt.graphicsenv=sun.awt.X11GraphicsEnvironment \
-Djava.awt.printerjob=sun.print.PSPrinterJob \
-Xshare:off \
--module-path \
/opt/mandrel/lib/jvmci/graal-sdk.jar:/opt/mandrel/lib/truffle/truffle-api.jar \
--upgrade-module-path \
/opt/mandrel/lib/jvmci/graal.jar \
-Djdk.internal.lambda.disableEagerInitialization=true \
-Djdk.internal.lambda.eagerlyInitialize=false \
-Djava.lang.invoke.InnerClassLambdaMetafactory.initializeLambdas=false \
--add-exports=jdk.internal.vm.ci/jdk.vm.ci.code=jdk.internal.vm.compiler \
-Dsun.nio.ch.maxUpdateArraySize=100 \
-Djava.util.logging.manager=org.jboss.logmanager.LogManager \
-Drx.unsafe-disable=true \
-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory \
-Dvertx.disableDnsResolver=true \
-Dio.netty.leakDetection.level=DISABLED \
-Dio.netty.allocator.maxOrder=1 \
-Duser.language=fr \
-Duser.country=CA \
-Dfile.encoding=UTF-8 \
-javaagent:/opt/mandrel/lib/svm/builder/svm.jar \
-cp \
/opt/mandrel/lib/jvmci/graal.jar:/opt/mandrel/lib/jvmci/graal-sdk.jar:/opt/mandrel/lib/svm/builder/objectfile.jar:/opt/mandrel/lib/svm/builder/svm.jar:/opt/mandrel/lib/svm/builder/pointsto.jar \
'com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus' \
-imagecp \
/opt/mandrel/lib/svm/library-support.jar:/project:/project/kubernetes-api-1.0.0-SNAPSHOT-runner.jar \
-H:Path=/project \
-H:+DumpTargetInfo \
-H:ClassInitialization=:build_time \
'-H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime' \
-H:+JNI \
-H:+AllowFoldMethods \
-H:Class=io.quarkus.runner.GeneratedMain \
-H:ClassInitialization=io.netty.handler.codec.http2.Http2CodecUtil:run_time,io.netty.handler.codec.http2.Http2ClientUpgradeCodec:run_time,io.netty.handler.codec.http2.Http2ConnectionHandler:run_time,io.netty.handler.codec.http2.DefaultHttp2FrameWriter:run_time \
-H:ClassInitialization=io.netty:build_time \
-H:ClassInitialization=io.netty.handler.codec.http.HttpObjectEncoder:run_time,io.netty.handler.codec.http.websocketx.WebSocket00FrameEncoder:run_time,io.netty.handler.codec.http.websocketx.extensions.compression.DeflateDecoder:run_time \
-H:ReflectionConfigurationResources=META-INF/native-image/io.netty/transport/reflection-config.json \
-H:ClassInitialization=io.netty.buffer.PooledByteBufAllocator:run_time,io.netty.buffer.ByteBufAllocator:run_time,io.netty.buffer.ByteBufUtil:run_time,io.netty.buffer.AbstractReferenceCountedByteBuf:run_time \
-H:ClassInitialization=io.netty.util.AbstractReferenceCounted:run_time,io.netty.util.concurrent.GlobalEventExecutor:run_time,io.netty.util.concurrent.ImmediateEventExecutor:run_time,io.netty.util.concurrent.ScheduledFutureTask:run_time,io.netty.util.internal.ThreadLocalRandom:run_time \
-H:ClassInitialization=io.netty.handler.ssl.util.ThreadLocalInsecureRandom:run_time \
-H:Features=org.graalvm.home.HomeFinderFeature \
-H:ClassInitialization=org.graalvm.polyglot:build_time \
-H:FallbackThreshold=0 \
-H:+ReportExceptionStackTraces \
-H:-AddAllCharsets \
-H:EnableURLProtocols=http,https \
-H:+EnableAllSecurityServices \
-H:-UseServiceLoaderFeature \
-H:+StackTrace \
-H:CLibraryPath=/opt/mandrel/lib/svm/clibraries/linux-amd64 \
-H:Name=kubernetes-api-1.0.0-SNAPSHOT-runner \

]
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]    classlist:  17 378,41 ms,  1,19 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]        (cap):     879,62 ms,  1,19 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]        setup:   3 383,37 ms,  1,19 GB
# Building image for target platform: org.graalvm.nativeimage.Platform$LINUX_AMD64
# Using native toolchain:
#   Name: GNU project C and C++ compiler (gcc)
#   Vendor: redhat
#   Version: 8.4.1
#   Target architecture: x86_64
#   Path: /usr/bin/gcc
# Using CLibrary: com.oracle.svm.core.posix.linux.libc.GLibC
11:50:57,430 INFO  [org.hib.val.int.uti.Version] HV000001: Hibernate Validator 1.0.0-SNAPSHOT
11:52:06,707 INFO  [org.jbo.threads] JBoss Threads version 3.2.0.Final
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]     (clinit):   2 328,21 ms,  6,34 GB
# Static libraries:
#   ../opt/mandrel/lib/svm/clibraries/linux-amd64/liblibchelper.a
#   ../opt/mandrel/lib/static/linux-amd64/glibc/libnet.a
#   ../opt/mandrel/lib/static/linux-amd64/glibc/libextnet.a
#   ../opt/mandrel/lib/static/linux-amd64/glibc/libnio.a
#   ../opt/mandrel/lib/static/linux-amd64/glibc/libjava.a
#   ../opt/mandrel/lib/static/linux-amd64/glibc/libfdlibm.a
#   ../opt/mandrel/lib/static/linux-amd64/glibc/libsunec.a
#   ../opt/mandrel/lib/static/linux-amd64/glibc/libzip.a
#   ../opt/mandrel/lib/svm/clibraries/linux-amd64/libjvm.a
# Other libraries: stdc++,pthread,dl,z,rt
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]   (typeflow):  65 078,72 ms,  6,34 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]    (objects): 108 276,43 ms,  6,34 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]   (features):   2 446,16 ms,  6,34 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]     analysis: 183 318,34 ms,  6,34 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]     universe:   5 717,11 ms,  6,34 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]      (parse):  22 016,05 ms,  6,07 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]     (inline):  16 644,43 ms,  7,37 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]    (compile):  62 086,88 ms,  7,44 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]      compile: 106 401,42 ms,  7,44 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]        image:  25 752,70 ms,  7,45 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]        write:   4 658,55 ms,  7,45 GB
[kubernetes-api-1.0.0-SNAPSHOT-runner:60]      [total]: 348 236,80 ms,  7,45 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.container.image.docker.deployment.DockerWorking] Docker daemon found. Version:'20.10.7'
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] Starting docker image build
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] Executing the following command to build docker image: 'docker build -f C:\workspace\bidgroup\kubernetes-api\Dockerfile.native -t docker.comact.com:5000/kubernetes-api:master C:\workspace\bidgroup\kubernetes-api'
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #1 [internal] load build definition from Dockerfile.native
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #1 sha256:3c3ff4237c4892fc01a3e14e3934cc9a67dbf51bdfc99b9069bc915076c116cc
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #1 transferring dockerfile: 1.29kB 0.0s done
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #1 DONE 0.1s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #2 [internal] load .dockerignore
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #2 sha256:163e0a23136b421067c202e4499a59d670eb4a25f1539f5daa55849c5bea1a97
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #2 transferring context:
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #2 transferring context: 2B done
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #2 DONE 0.0s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #3 [internal] load metadata for registry.access.redhat.com/ubi8/ubi-minimal:8.3
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #3 sha256:583b288e8801cd521602da7d67e17b4babff42d4747f032b0ed283b5b984e6e1
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #3 DONE 2.4s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #4 [ 1/15] FROM registry.access.redhat.com/ubi8/ubi-minimal:8.3@sha256:2f6b88c037c0503da7704bccd3fc73cb76324101af39ad28f16460e7bce98324
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #4 sha256:13e38af79a59609a32a2edb04217dfd12effc07d3bbe5f67d8af0a6d95f4e18e
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #4 resolve registry.access.redhat.com/ubi8/ubi-minimal:8.3@sha256:2f6b88c037c0503da7704bccd3fc73cb76324101af39ad28f16460e7bce98324 0.0s done
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #4 sha256:2f6b88c037c0503da7704bccd3fc73cb76324101af39ad28f16460e7bce98324 1.47kB / 1.47kB done
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #4 sha256:a62d408337bb50546019e2334fdd43ec1ecc150d60f5f195fd324c578c25ab3a 737B / 737B done
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #4 sha256:332744c1854d8e87f41dc67bf3d7e1c08d7a6b1322b5b5bd0b126bf8282ca1f8 4.33kB / 4.33kB done
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #4 DONE 0.2s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #5 [ 2/15] WORKDIR /app/
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #5 sha256:e91827a3db21130719107723edce4c4b920fd83ff93498bb56695229737d220d
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #5 DONE 0.1s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #18 https://github.com/krallin/tini/releases/download/v0.19.0/tini
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #18 sha256:557e2a6d08a9158fb6322ea6518791fb65c876631088c88a90c6d78717d6bc4a
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #18 DONE 0.4s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 [ 3/15] RUN microdnf update && microdnf install procps dos2unix     && chown 1001 /app     && chmod "g+rwX" /app     && chown 1001:root /app
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 sha256:db0ddf63f26d5001df6a37a9005f5a51b12ed13eb7b91c330e97b37caa3cd2f8
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 0.663
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 0.663 (microdnf:8): librhsm-WARNING **: 11:56:37.323: Found 0 entitlement certificates
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 0.666
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 0.666 (microdnf:8): librhsm-WARNING **: 11:56:37.327: Found 0 entitlement certificates
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 0.816 Downloading metadata...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 ...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #7 [internal] load build context
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #7 sha256:2669bea8dd68e7b16aedc3311871fdcceff4cf4f338cfe2ba6f8fcfab22b2b5b
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #7 transferring context: 123.10MB 2.1s done
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #7 DONE 2.2s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #18 https://github.com/krallin/tini/releases/download/v0.19.0/tini
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #18 sha256:557e2a6d08a9158fb6322ea6518791fb65c876631088c88a90c6d78717d6bc4a
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #18 CACHED
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 [ 3/15] RUN microdnf update && microdnf install procps dos2unix     && chown 1001 /app     && chmod "g+rwX" /app     && chown 1001:root /app
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 sha256:db0ddf63f26d5001df6a37a9005f5a51b12ed13eb7b91c330e97b37caa3cd2f8
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 3.188 Downloading metadata...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 5.863 Downloading metadata...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479 Package                                     Repository       Size
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479 Installing:
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  glibc-langpack-en-2.28-151.el8.x86_64      ubi-8-baseos 846.4 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  shared-mime-info-1.9-3.el8.x86_64          ubi-8-baseos 336.4 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479 Upgrading:
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  bash-4.4.20-1.el8_4.x86_64                 ubi-8-baseos   1.6 MB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  brotli-1.0.6-3.el8.x86_64                  ubi-8-baseos 330.9 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  curl-7.61.1-18.el8.x86_64                  ubi-8-baseos 361.9 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  elfutils-libelf-0.182-3.el8.x86_64         ubi-8-baseos 221.4 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  gawk-4.2.1-2.el8.x86_64                    ubi-8-baseos   1.2 MB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  glib2-2.56.4-10.el8_4.x86_64               ubi-8-baseos   2.6 MB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  glibc-2.28-151.el8.x86_64                  ubi-8-baseos   3.8 MB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  glibc-common-2.28-151.el8.x86_64           ubi-8-baseos   1.4 MB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  glibc-minimal-langpack-2.28-151.el8.x86_64 ubi-8-baseos  57.4 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  gpgme-1.13.1-7.el8.x86_64                  ubi-8-baseos 343.7 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  json-c-0.13.1-0.4.el8.x86_64               ubi-8-baseos  41.1 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  krb5-libs-1.18.2-8.el8.x86_64              ubi-8-baseos 858.2 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libarchive-3.3.3-1.el8.x86_64              ubi-8-baseos 368.1 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libblkid-2.32.1-27.el8.x86_64              ubi-8-baseos 221.9 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libcurl-7.61.1-18.el8.x86_64               ubi-8-baseos 306.3 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libdb-5.3.28-40.el8.x86_64                 ubi-8-baseos 769.1 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libdb-utils-5.3.28-40.el8.x86_64           ubi-8-baseos 153.1 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libdnf-0.55.0-7.el8.x86_64                 ubi-8-baseos 698.9 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libgcc-8.4.1-1.el8.x86_64                  ubi-8-baseos  80.4 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libmount-2.32.1-27.el8.x86_64              ubi-8-baseos 238.3 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  librepo-1.12.0-3.el8.x86_64                ubi-8-baseos  92.9 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  librhsm-0.0.3-4.el8.x86_64                 ubi-8-baseos  34.2 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libselinux-2.9-5.el8.x86_64                ubi-8-baseos 169.2 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libsepol-2.9-2.el8.x86_64                  ubi-8-baseos 347.5 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libsmartcols-2.32.1-27.el8.x86_64          ubi-8-baseos 180.2 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libsolv-0.7.16-2.el8.x86_64                ubi-8-baseos 370.9 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libstdc++-8.4.1-1.el8.x86_64               ubi-8-baseos 462.1 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libuuid-2.32.1-27.el8.x86_64               ubi-8-baseos  97.7 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  libxml2-2.9.7-9.el8.x86_64                 ubi-8-baseos 712.7 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  microdnf-3.4.0-4.el8.x86_64                ubi-8-baseos  50.0 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  openldap-2.4.46-16.el8.x86_64              ubi-8-baseos 359.6 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  p11-kit-0.23.22-1.el8.x86_64               ubi-8-baseos 332.1 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  p11-kit-trust-0.23.22-1.el8.x86_64         ubi-8-baseos 140.3 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  popt-1.18-1.el8.x86_64                     ubi-8-baseos  62.9 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  redhat-release-8.4-0.6.el8.x86_64          ubi-8-baseos  42.3 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  rpm-4.14.3-13.el8.x86_64                   ubi-8-baseos 554.8 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  rpm-libs-4.14.3-13.el8.x86_64              ubi-8-baseos 347.5 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  sqlite-libs-3.26.0-13.el8.x86_64           ubi-8-baseos 594.2 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  systemd-libs-239-45.el8.x86_64             ubi-8-baseos   1.1 MB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  zlib-1.2.11-17.el8.x86_64                  ubi-8-baseos 104.7 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479 Transaction Summary:
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  Installing:        2 packages
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  Reinstalling:      0 packages
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  Upgrading:        40 packages
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  Removing:          0 packages
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.479  Downgrading:       0 packages
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 7.487 Downloading packages...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 15.53 Running transaction test...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 16.26 Updating: libgcc;8.4.1-1.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 16.31 Updating: libselinux;2.9-5.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 16.36 Updating: glibc-common;2.28-151.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 16.68 Installing: glibc-langpack-en;2.28-151.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 16.93 Updating: glibc;2.28-151.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 17.60 Updating: bash;4.4.20-1.el8_4;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 17.84 Updating: libsepol;2.9-2.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 17.92 Updating: zlib;1.2.11-17.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 17.96 Updating: libxml2;2.9.7-9.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 18.08 Updating: libdb;5.3.28-40.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 18.21 Updating: elfutils-libelf;0.182-3.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 18.29 Updating: libsmartcols;2.32.1-27.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 18.36 Updating: gpgme;1.13.1-7.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 18.45 Updating: popt;1.18-1.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 18.51 Updating: libuuid;2.32.1-27.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 18.56 Updating: libblkid;2.32.1-27.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 18.64 Updating: libmount;2.32.1-27.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 18.72 Updating: glib2;2.56.4-10.el8_4;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 19.11 Installing: shared-mime-info;1.9-3.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 19.20 Updating: librhsm;0.0.3-4.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 19.25 Updating: libdb-utils;5.3.28-40.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 19.32 Updating: libarchive;3.3.3-1.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 19.40 Updating: sqlite-libs;3.26.0-13.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 19.51 Updating: libstdc++;8.4.1-1.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 19.63 Updating: gawk;4.2.1-2.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 19.76 Updating: krb5-libs;1.18.2-8.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 19.90 Updating: brotli;1.0.6-3.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 19.98 Updating: openldap;2.4.46-16.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.06 Updating: libcurl;7.61.1-18.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.12 Updating: curl;7.61.1-18.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.18 Updating: rpm-libs;4.14.3-13.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.27 Updating: rpm;4.14.3-13.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.40 Updating: libsolv;0.7.16-2.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.47 Updating: librepo;1.12.0-3.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.50 Updating: json-c;0.13.1-0.4.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.54 Updating: libdnf;0.55.0-7.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.65 Updating: p11-kit;0.23.22-1.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.74 Updating: p11-kit-trust;0.23.22-1.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.79 Updating: microdnf;3.4.0-4.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 20.84 Updating: systemd-libs;239-45.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.05 Updating: glibc-minimal-langpack;2.28-151.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.07 Updating: redhat-release;8.4-0.6.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.11 Cleanup: systemd-libs;239-41.el8_3.2;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.14 Cleanup: p11-kit-trust;0.23.14-5.el8_0;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.18 Cleanup: p11-kit;0.23.14-5.el8_0;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.21 Cleanup: microdnf;3.4.0-1.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.24 Cleanup: redhat-release;8.3-1.0.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.27 Cleanup: libdnf;0.48.0-5.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.30 Cleanup: libstdc++;8.3.1-5.1.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.34 Cleanup: librepo;1.12.0-2.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.37 Cleanup: libsmartcols;2.32.1-24.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.41 Cleanup: libsolv;0.7.11-1.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.43 Cleanup: rpm-libs;4.14.3-4.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.48 Cleanup: rpm;4.14.3-4.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.51 Cleanup: libarchive;3.3.2-9.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.54 Cleanup: libxml2;2.9.7-8.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.56 Cleanup: curl;7.61.1-14.el8_3.1;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.58 Cleanup: libcurl;7.61.1-14.el8_3.1;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.60 Cleanup: krb5-libs;1.18.2-5.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.62 Cleanup: sqlite-libs;3.26.0-11.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.64 Cleanup: gawk;4.2.1-1.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.67 Cleanup: openldap;2.4.46-15.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.69 Cleanup: gpgme;1.13.1-3.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.72 Cleanup: libdb-utils;5.3.28-39.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.74 Cleanup: libdb;5.3.28-39.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.78 Cleanup: json-c;0.13.1-0.2.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.81 Cleanup: librhsm;0.0.3-3.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.84 Cleanup: glib2;2.56.4-8.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.87 Cleanup: libmount;2.32.1-24.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.91 Cleanup: libblkid;2.32.1-24.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 21.96 Cleanup: libuuid;2.32.1-24.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 22.00 Cleanup: elfutils-libelf;0.180-1.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 22.03 Cleanup: popt;1.16-14.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 22.04 Cleanup: brotli;1.0.6-2.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 22.07 Cleanup: zlib;1.2.11-16.2.el8_3;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 22.08 Cleanup: glibc-common;2.28-127.el8_3.2;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 22.11 Cleanup: libselinux;2.9-4.el8_3;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 22.14 Cleanup: libsepol;2.9-1.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 22.17 Cleanup: bash;4.4.19-12.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 22.21 Cleanup: glibc-minimal-langpack;2.28-127.el8_3.2;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 22.22 Cleanup: glibc;2.28-127.el8_3.2;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 22.31 Cleanup: libgcc;8.3.1-5.1.el8;x86_64;installed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.62 Complete.
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.67
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.67 (microdnf:132): librhsm-WARNING **: 11:57:02.326: Found 0 entitlement certificates
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.67
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.67 (microdnf:132): librhsm-WARNING **: 11:57:02.328: Found 0 entitlement certificates
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92 Package                        Repository       Size
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92 Installing:
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92  dos2unix-7.4.0-3.el8.x86_64   ubi-8-baseos 246.5 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92  procps-ng-3.3.15-6.el8.x86_64 ubi-8-baseos 336.8 kB
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92 Transaction Summary:
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92  Installing:        2 packages
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92  Reinstalling:      0 packages
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92  Upgrading:         0 packages
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92  Obsoleting:        0 packages
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92  Removing:          0 packages
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92  Downgrading:       0 packages
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 25.92 Downloading packages...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 26.40 Running transaction test...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 26.44 Installing: procps-ng;3.3.15-6.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 26.51 Installing: dos2unix;7.4.0-3.el8;x86_64;ubi-8-baseos
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 26.62 Complete.
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #6 DONE 27.3s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #8 [ 4/15] COPY --chown=1001:root target/*-runner /app/application
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #8 sha256:94becdb8859cb420150930f5ea26754d45bf139ada402f66c2a7b631a27479ab
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #8 DONE 0.7s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #9 [ 5/15] COPY /target/classes/scripts/livenessProbe.sh /app/
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #9 sha256:8b51e3403e51ee405943dae33d1107615ded6bc63bdf9dab072b6c84ef3286e7
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #9 DONE 0.1s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #10 [ 6/15] COPY /target/classes/scripts/readinessProbe.sh /app/
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #10 sha256:46a3e66f61295929e5f689d84cd35947bab08abe1c74421a9396ad4161dc9d3f
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #10 DONE 0.1s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #11 [ 7/15] COPY /target/classes/scripts/preStopHook.sh /app/
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #11 sha256:4ad76704ebdf8c5557a97034cd3f35ffa87d9130b948aed9a06b36d72fbb308a
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #11 DONE 0.1s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #12 [ 8/15] COPY /target/classes/scripts/postStartHook.sh /app/
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #12 sha256:297316ad813f654f0aa0b97880003c5345956624537294697534d6681bb82be6
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #12 DONE 0.1s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #13 [ 9/15] COPY /target/classes/scripts/wait-for-it.sh /app/
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #13 sha256:5161ca1f03e8bd9c85200e5ef9426915e94b257f41871531262c418f4df99c00
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #13 DONE 0.1s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #14 [10/15] COPY /target/classes/scripts/wait-for-response.sh /app/
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #14 sha256:141e012eb51d28cc7ed10a15845d68cfd657848d1526a0895975d5883aeff8ed
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #14 DONE 0.1s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #15 [11/15] RUN dos2unix /app/*.sh
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #15 sha256:f92981c7280ce9e6283cdb3cb1de334f5a2cb5308837d4b1a45f949b4c6af150
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #15 0.409 dos2unix: converting file /app/livenessProbe.sh to Unix format...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #15 0.409 dos2unix: converting file /app/postStartHook.sh to Unix format...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #15 0.410 dos2unix: converting file /app/preStopHook.sh to Unix format...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #15 0.410 dos2unix: converting file /app/readinessProbe.sh to Unix format...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #15 0.410 dos2unix: converting file /app/wait-for-it.sh to Unix format...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #15 0.411 dos2unix: converting file /app/wait-for-response.sh to Unix format...
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #15 DONE 0.5s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #16 [12/15] RUN chown 1001 /app/*.sh
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #16 sha256:71bf1ec879b85a1fa0b35a944009f1056f72955c7c15b396d0d6a049de463333
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #16 DONE 0.6s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #17 [13/15] RUN chmod 540 /app/*.sh
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #17 sha256:cea0efb6a04c9a6e9b38cdb499ba39459a56578a2d68545a83129cd1bb285023
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #17 DONE 0.6s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #19 [14/15] ADD https://github.com/krallin/tini/releases/download/v0.19.0/tini /tini
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #19 sha256:086a57819b59ff04616f7fefddbbfbabd6af4c3d57853cdad282488ef850ed3b
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #19 DONE 0.1s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #20 [15/15] RUN chmod +x /tini
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #20 sha256:9e0ddcf498c4229d084676ec60ea0081773ee51a2d9b4a63feea8cb2140bd1bc
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #20 DONE 0.4s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #21 exporting to image
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #21 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #21 exporting layers
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #21 exporting layers 1.2s done
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #21 writing image sha256:91d0b4cce1213efc399fa692f20fb14e3cbfd1efc721b881f7b13dba480913df done
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #21 naming to docker.comact.com:5000/kubernetes-api:master done
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] #21 DONE 1.2s
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor]
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[INFO] [io.quarkus.container.image.docker.deployment.DockerProcessor] Built container image docker.comact.com:5000/kubernetes-api:master (null)

[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 435542ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  07:30 min
[INFO] Finished at: 2021-06-10T07:57:10-04:00
[INFO] ------------------------------------------------------------------------
PS C:\workspace\bidgroup\kubernetes-api>
zakkak commented 3 years ago

Judging by the logs

quarkus.native.additional-build-args=-H:ReflectionConfigurationFiles=reflection-config.json

is not being properly set or read.

Is there any chance you could share a reproducer?

survivant commented 3 years ago

@zakkak if it's the property that is not passed in the build command line. Could a hello-world project from code.quarkus.io and add the file reflection-config.json + the line in application.properties will do the same ?

survivant commented 3 years ago

@zakkak one more question. Should the class

@RegisterForReflection(targets={LoggerSetting.class, LoggerSetting[].class})
public class MyReflectionConfiguration {
    // for reflection
}

do the same without having to pass the parameter in the command line ?

survivant commented 3 years ago

@zakkak I'll generate you a new project and add those setting in it. I'll attach it to this issue.

zakkak commented 3 years ago

Hi @survivant sorry for not replying to you.

I discussed this with a colleague to confirm my understanding was right and the answers to your questions are:

@zakkak if it's the property that is not passed in the build command line. Could a hello-world project from code.quarkus.io and add the file reflection-config.json + the line in application.properties will do the same ?

Probably not.

@zakkak one more question. Should the class

@RegisterForReflection(targets={LoggerSetting.class, LoggerSetting[].class})
public class MyReflectionConfiguration {
    // for reflection
}

do the same without having to pass the parameter in the command line ?

Yes, it should do the same.

survivant commented 3 years ago

@zakkak

it's weird.

I ran the same command line on the same project this morning and did a diff between the logs and I found in today logs a part from mandrel compilation that wasn't there 5 days ago.

this line is different (digest)

21.0-java11: Pulling from quarkus/ubi-quarkus-mandrel
Digest: sha256:7727c7e9ff8051d63e51428f3b3d6527a03def71fba1d4b37ff853fee6ba5d34

Could a image update was pushed in quarkus/ubi-quarkus-mandrel that fixed the issue ?

the other differences are related to docker steps that were already build and there was another block that is in june15 log, but it wasn't present when I reran the same build again

build-log-15june.txt build-log-10june.txt

today build work fine in the cluster.

zakkak commented 3 years ago

Could a image update was pushed in quarkus/ubi-quarkus-mandrel that fixed the issue ?

I guess it could, but it would be highly unlikely. The new images are usually rebuilds of the same cekit configuration, based on newer base images.

Judging by the logs, it looks like you are using the @RegisterForReflection and not quarkus.native.additional-build-args=-H:ReflectionConfigurationFiles=reflection-config.json, since H:ReflectionConfigurationFiles=reflection-config.json is still not showing up in the logs. So what I find more likely is for the java sources to not have been compiled properly in your initial tests.

survivant commented 3 years ago

I'll remove @RegisterForReflection and check if quarkus.native.additional-build-args=-H:ReflectionConfigurationFiles=reflection-config.json is passed.

survivant commented 3 years ago

@zakkak I created a example. I tried to keep the same structure for LoggingSetting but I couldn't include the 20 others dependencies (company code) with it.
mandrel.zip

I also put the @RegisterForReflection in comments.

I think that you want to see if the param : quarkus.native.additional-build-args=-H:ReflectionConfigurationFiles=reflection-config.json is passed to the docker container that build the native image ?

if it's not passed, it's a issue right ?

zakkak commented 3 years ago

Thanks @survivant, I now see what was going wrong. When using -Dquarkus.native.additional-build-args=--native-image-info,--verbose (as I asked you to, so it's my mistake) you are essentially overriding the quarkus.native.additional-build-args value stored in src/main/resources/application.properties, so that explains why I didn't see -H:ReflectionConfigurationFiles=reflection-config.json being passed to native-image.

By adding --verbose and --native-image-info in src/main/resources/application.properties instead by passing them through the command line:

quarkus.native.additional-build-args=-H:ReflectionConfigurationFiles=reflection-config.json,--verbose,--native-image-info

I now see -H:ReflectionConfigurationFiles=reflection-config.json being passed to native-image.

...
-H:ReflectionConfigurationFiles=/tmp/mandrel/target/mandrel-1.0-SNAPSHOT-native-image-source-jar/reflection-config.json
...

The thing is that even without -H:ReflectionConfigurationFiles=reflection-config.json and @RegisterForReflection the given example works fine.

Sanne commented 3 years ago

The error message is printing:

Caused by: java.lang.IllegalArgumentException: Class com.comact.logging.bean.LoggerSetting[] is instantiated reflectively but was never registered. Register the class by using org.graalvm.nativeimage.hosted.RuntimeReflection
        at com.oracle.svm.core.graal.snippets.SubstrateAllocationSnippets.arrayHubErrorStub(SubstrateAllocationSnippets.java:281)

Pay attention to the []: it's not complaining about the LoggerSetting class, but about the array whose type is a LoggerSetting.

geoand commented 2 years ago

Closing as this does not appear to be an issue