[INFO] Scanning for projects... [INFO] [INFO] ----------------------< org.acme:getting-started >---------------------- [INFO] Building getting-started 1.0.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ getting-started --- [INFO] Deleting /home/orivat/dev/rh-sso/test-quarkus/getting-started/target [INFO] [INFO] --- quarkus-maven-plugin:2.2.5.Final-redhat-00007:generate-code (default) @ getting-started --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ getting-started --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ getting-started --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /home/orivat/dev/rh-sso/test-quarkus/getting-started/target/classes [INFO] [INFO] --- quarkus-maven-plugin:2.2.5.Final-redhat-00007:generate-code-tests (default) @ getting-started --- [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ getting-started --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/orivat/dev/rh-sso/test-quarkus/getting-started/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ getting-started --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to /home/orivat/dev/rh-sso/test-quarkus/getting-started/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ getting-started --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.acme.quickstart.GreetingResourceTest 2022-04-12 17:41:03,695 WARN [io.qua.config] (main) Unrecognized configuration key "quarkus.kubernetes-client.trust-certs" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo 2022-04-12 17:41:03,696 WARN [io.qua.config] (main) Unrecognized configuration key "quarkus.openshift.route.expose" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo 2022-04-12 17:41:03,697 WARN [io.qua.config] (main) Unrecognized configuration key "quarkus.openshift.build-strategy" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo 2022-04-12 17:41:03,697 WARN [io.qua.config] (main) Unrecognized configuration key "quarkus.kubernetes.deploy" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo 2022-04-12 17:41:04,011 INFO [io.quarkus] (main) Quarkus 2.2.5.Final-redhat-00010 on JVM started in 1.446s. Listening on: http://localhost:8081 2022-04-12 17:41:04,011 INFO [io.quarkus] (main) Profile test activated. 2022-04-12 17:41:04,011 INFO [io.quarkus] (main) Installed features: [cdi, resteasy, smallrye-context-propagation] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.002 s - in org.acme.quickstart.GreetingResourceTest 2022-04-12 17:41:05,243 INFO [io.quarkus] (main) Quarkus stopped in 0.032s [INFO] [INFO] Results: [INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ getting-started --- [INFO] Building jar: /home/orivat/dev/rh-sso/test-quarkus/getting-started/target/getting-started-1.0.0-SNAPSHOT.jar [INFO] [INFO] --- quarkus-maven-plugin:2.2.5.Final-redhat-00007:build (default) @ getting-started --- [INFO] [org.jboss.threads] JBoss Threads version 3.4.2.Final-redhat-00001 [INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /home/orivat/dev/rh-sso/test-quarkus/getting-started/target/getting-started-1.0.0-SNAPSHOT-native-image-source-jar/getting-started-1.0.0-SNAPSHOT-runner.jar [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /home/orivat/dev/rh-sso/test-quarkus/getting-started/target/getting-started-1.0.0-SNAPSHOT-native-image-source-jar/getting-started-1.0.0-SNAPSHOT-runner.jar [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Using podman to run the native image builder [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Checking image status registry.access.redhat.com/quarkus/mandrel-21-rhel8:21.3 e3826815dc09fdd3ecf23b539fa5003da935b5b3d55e9f8b1370c81a3fe0cc09 [ERROR] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Unable to get GraalVM version from the native-image binary. [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] podman run --env LANG=C --rm --user 103707:103707 --userns=keep-id -v /home/orivat/dev/rh-sso/test-quarkus/getting-started/target/getting-started-1.0.0-SNAPSHOT-native-image-source-jar:/project:z --name build-native-VmVoy registry.access.redhat.com/quarkus/mandrel-21-rhel8:21.3 -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=3 -J-Duser.language=en -J-Duser.country=US -J-Dfile.encoding=UTF-8 -H:-ParseOnce -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+JNI -H:+AllowFoldMethods -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:EnableURLProtocols=http -H:+InlineBeforeAnalysis -H:-UseServiceLoaderFeature -H:+StackTrace getting-started-1.0.0-SNAPSHOT-runner -jar getting-started-1.0.0-SNAPSHOT-runner.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20.955 s [INFO] Finished at: 2022-04-12T17:41:18+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.redhat.quarkus.platform:quarkus-maven-plugin:2.2.5.Final-redhat-00007:build (default) on project getting-started: 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:237) [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:820) [ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:277) [ERROR] at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) [ERROR] at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449) [ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478) [ERROR] at java.base/java.lang.Thread.run(Thread.java:829) [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:379) [ERROR] at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.build(NativeImageBuildStep.java:217) [ERROR] ... 11 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