Skip to content

Instantly share code, notes, and snippets.

@galderz
Created March 26, 2020 16:09
Show Gist options
  • Save galderz/84ca62c3f3dd799a68d3e55ea22a2d4f to your computer and use it in GitHub Desktop.
Save galderz/84ca62c3f3dd799a68d3e55ea22a2d4f to your computer and use it in GitHub Desktop.
[INFO] ------< io.quarkus:quarkus-universe-integration-tests-camel-aws >-------
[INFO] Building quarkus-universe-integration-tests-camel-aws 999-SNAPSHOT [1/64]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java-version) @ quarkus-universe-integration-tests-camel-aws ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ quarkus-universe-integration-tests-camel-aws ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ quarkus-universe-integration-tests-camel-aws ---
[INFO] Executing: /bin/sh -c cd '/home/g/target/quarkus-with-graal/2020.03.26/quarkus-platform/integration-tests/camel/camel-aws' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /home/g/target/quarkus-with-graal/2020.03.26/quarkus-platform/integration-tests/camel/camel-aws
[INFO] Storing buildNumber: 001e63690708f7372c9e5015e83ffde8a9094ac4 at timestamp: 1585238413710
[INFO] Storing buildScmBranch: master
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ quarkus-universe-integration-tests-camel-aws ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/g/target/quarkus-with-graal/2020.03.26/quarkus-platform/integration-tests/camel/camel-aws/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0-jboss-2:compile (default-compile) @ quarkus-universe-integration-tests-camel-aws ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ quarkus-universe-integration-tests-camel-aws ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0-jboss-2:testCompile (default-testCompile) @ quarkus-universe-integration-tests-camel-aws ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ quarkus-universe-integration-tests-camel-aws ---
[INFO]
[INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ quarkus-universe-integration-tests-camel-aws ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO]
[INFO] --- quarkus-maven-plugin:1.3.0.Final:native-image (native-image) @ quarkus-universe-integration-tests-camel-aws ---
[WARNING] Your application is setting the deprecated 'enableJni' Maven option to false. Please consider removing this option as it is ignored (JNI is always enabled) and it will be removed in a future Quarkus version.
[INFO] [org.jboss.threads] JBoss Threads version 3.0.1.Final
[INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /home/g/target/quarkus-with-graal/2020.03.26/quarkus-platform/integration-tests/camel/camel-aws/target/quarkus-universe-integration-tests-camel-aws-999-SNAPSHOT-native-image-source-jar/quarkus-universe-integration-tests-camel-aws-999-SNAPSHOT-runner.jar
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /home/g/target/quarkus-with-graal/2020.03.26/quarkus-platform/integration-tests/camel/camel-aws/target/quarkus-universe-integration-tests-camel-aws-999-SNAPSHOT-native-image-source-jar/quarkus-universe-integration-tests-camel-aws-999-SNAPSHOT-runner.jar
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version dev (Java Version 11.0.8-internal)
Warning: Ignoring server-mode native-image argument --server-shutdown.
Error: Please specify class containing the main entry point method. (see --help)
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] /home/g/target/quarkus-with-graal/2020.03.26/graal/sdk/mxbuild/linux-amd64/GRAALVM_UNKNOWN_JAVA11/graalvm-unknown-java11-20.1.0-dev/bin/native-image -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Duser.language=en -J-Dfile.encoding=UTF-8 --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime -H:+JNI -jar quarkus-universe-integration-tests-camel-aws-999-SNAPSHOT-runner.jar -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:-IncludeAllTimeZones -H:EnableURLProtocols=http,https --enable-all-security-services --no-server -H:-UseServiceLoaderFeature -H:+StackTrace quarkus-universe-integration-tests-camel-aws-999-SNAPSHOT-runner
Warning: Ignoring server-mode native-image argument --no-server.
[quarkus-universe-integration-tests-camel-aws-999-SNAPSHOT-runner:26810] classlist: 12,696.44 ms, 1.19 GB
16:00:36,130 INFO [org.apa.cam.sup.LRUCacheFactory] Detected and using LURCacheFactory: camel-caffeine-lrucache
[quarkus-universe-integration-tests-camel-aws-999-SNAPSHOT-runner:26810] (cap): 1,242.78 ms, 1.19 GB
[quarkus-universe-integration-tests-camel-aws-999-SNAPSHOT-runner:26810] setup: 3,859.05 ms, 1.19 GB
16:00:42,535 INFO [org.jbo.threads] JBoss Threads version 3.0.1.Final
[quarkus-universe-integration-tests-camel-aws-999-SNAPSHOT-runner:26810] analysis: 4,843.12 ms, 1.19 GB
Fatal error:org.graalvm.compiler.debug.GraalError: Unable to resolve all classes in class: org.apache.camel.spi.ModelJAXBContextFactory
at com.oracle.svm.hosted.classinitialization.ClassInitializationFeature.declaresDefaultMethods(ClassInitializationFeature.java:386)
at com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.processInterfaces(ConfigurableClassInitialization.java:580)
at com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.computeInitKindAndMaybeInitializeClass(ConfigurableClassInitialization.java:556)
at com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.computeInitKindAndMaybeInitializeClass(ConfigurableClassInitialization.java:130)
at com.oracle.svm.hosted.classinitialization.ConfigurableClassInitialization.shouldInitializeAtRuntime(ConfigurableClassInitialization.java:153)
at com.oracle.svm.hosted.classinitialization.ClassInitializationFeature.checkImageHeapInstance(ClassInitializationFeature.java:166)
at com.oracle.graal.pointsto.meta.AnalysisUniverse.replaceObject(AnalysisUniverse.java:534)
at com.oracle.svm.hosted.ameta.AnalysisConstantReflectionProvider.replaceObject(AnalysisConstantReflectionProvider.java:201)
at com.oracle.svm.hosted.ameta.AnalysisConstantReflectionProvider.interceptValue(AnalysisConstantReflectionProvider.java:172)
at com.oracle.svm.hosted.ameta.AnalysisConstantReflectionProvider.readValue(AnalysisConstantReflectionProvider.java:101)
at com.oracle.svm.hosted.ameta.AnalysisConstantReflectionProvider.readFieldValue(AnalysisConstantReflectionProvider.java:77)
at com.oracle.graal.pointsto.ObjectScanner.scanField(ObjectScanner.java:184)
at com.oracle.graal.pointsto.ObjectScanner.doScan(ObjectScanner.java:381)
at com.oracle.graal.pointsto.ObjectScanner.access$500(ObjectScanner.java:61)
at com.oracle.graal.pointsto.ObjectScanner$3$1.run(ObjectScanner.java:454)
at com.oracle.graal.pointsto.util.CompletionExecutor.lambda$execute$0(CompletionExecutor.java:175)
at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426)
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:177)
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3166)
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2309)
at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.getDeclaredMethods(HotSpotResolvedObjectTypeImpl.java:932)
at com.oracle.svm.hosted.classinitialization.ClassInitializationFeature.declaresDefaultMethods(ClassInitializationFeature.java:378)
... 21 more
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 26 more
Error: Image build request failed with exit status 1
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for quarkus-universe-integration-tests-camel-aws 999-SNAPSHOT:
[INFO]
[INFO] quarkus-universe-integration-tests-camel-aws ....... FAILURE [ 33.067 s]
[INFO] quarkus-universe-integration-tests-camel-azure ..... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-base64 .... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-bean ...... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-bean-validator SKIPPED
[INFO] quarkus-universe-integration-tests-camel-bindy ..... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-box ....... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-braintree . SKIPPED
[INFO] quarkus-universe-integration-tests-camel-compression SKIPPED
[INFO] quarkus-universe-integration-tests-camel-consul .... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-controlbus SKIPPED
[INFO] quarkus-universe-integration-tests-camel-core ...... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-core-impl . SKIPPED
[INFO] quarkus-universe-integration-tests-camel-core-main . SKIPPED
[INFO] quarkus-universe-integration-tests-camel-core-main-collector SKIPPED
[INFO] quarkus-universe-integration-tests-camel-core-main-xml-io SKIPPED
[INFO] quarkus-universe-integration-tests-camel-core-main-xml-jaxb SKIPPED
[INFO] quarkus-universe-integration-tests-camel-csv ....... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-dataformat SKIPPED
[INFO] quarkus-universe-integration-tests-camel-dataformats-json SKIPPED
[INFO] quarkus-universe-integration-tests-camel-dozer ..... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-exec ...... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-fhir ...... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-file ...... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-ftp ....... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-graphql ... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-http ...... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-hystrix ... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-infinispan SKIPPED
[INFO] quarkus-universe-integration-tests-camel-jaxb ...... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-jdbc ...... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-jira ...... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-jsonpath .. SKIPPED
[INFO] quarkus-universe-integration-tests-camel-kafka ..... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-mail ...... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-messaging . SKIPPED
[INFO] quarkus-universe-integration-tests-camel-microprofile SKIPPED
[INFO] quarkus-universe-integration-tests-camel-mongodb ... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-mustache .. SKIPPED
[INFO] quarkus-universe-integration-tests-camel-netty ..... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-olingo4 ... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-opentracing SKIPPED
[INFO] quarkus-universe-integration-tests-camel-pdf ....... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-platform-http SKIPPED
[INFO] quarkus-universe-integration-tests-camel-platform-http-engine SKIPPED
[INFO] quarkus-universe-integration-tests-camel-reactive-streams SKIPPED
[INFO] quarkus-universe-integration-tests-camel-ref ....... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-salesforce SKIPPED
[INFO] quarkus-universe-integration-tests-camel-scheduler . SKIPPED
[INFO] quarkus-universe-integration-tests-camel-seda ...... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-servlet ... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-slack ..... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-sql ....... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-stream .... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-tarfile ... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-telegram .. SKIPPED
[INFO] quarkus-universe-integration-tests-camel-twitter ... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-validator . SKIPPED
[INFO] quarkus-universe-integration-tests-camel-websocket-jsr356 SKIPPED
[INFO] quarkus-universe-integration-tests-camel-xml ....... SKIPPED
[INFO] quarkus-universe-integration-tests-camel-xstream ... SKIPPED
[INFO] Quarkus universe - Integration Tests - Other ....... SKIPPED
[INFO] quarkus-universe-integration-tests-other-rpkgtests . SKIPPED
[INFO] quarkus-universe-integration-tests-quarkus-qpid-jms SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 34.568 s
[INFO] Finished at: 2020-03-26T16:00:44Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.3.0.Final:native-image (native-image) on project quarkus-universe-integration-tests-camel-aws: Failed to generate native image: 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:352)
[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:938)
[ERROR] at io.quarkus.builder.BuildContext.run(BuildContext.java:273)
[ERROR] at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2027)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1551)
[ERROR] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1442)
[ERROR] at java.base/java.lang.Thread.run(Thread.java:834)
[ERROR] at org.jboss.threads.JBossThread.run(JBossThread.java:479)
[ERROR] Caused by: java.lang.RuntimeException: Image generation failed. Exit code: 1
[ERROR] at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.imageGenerationFailed(NativeImageBuildStep.java:368)
[ERROR] at io.quarkus.deployment.pkg.steps.NativeImageBuildStep.build(NativeImageBuildStep.java:339)
[ERROR] ... 12 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment