jamesnetherton opened a new issue, #8063: URL: https://github.com/apache/camel-quarkus/issues/8063
### Bug description Not sure what's changed to cause this but the `camel-quarkus-integration-test-kubernetes` native build fails with: ``` ======================================================================================================================== GraalVM Native Image: Generating 'camel-quarkus-integration-test-kubernetes-3.31.0-SNAPSHOT-runner' (executable)... ======================================================================================================================== For detailed information and explanations on the build output, visit: https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/BuildOutput.md ------------------------------------------------------------------------------------------------------------------------ [1/8] Initializing... (10.5s @ 0.27GB) Java version: 21.0.9+10-LTS, vendor version: Mandrel-23.1.9.0-Final Graal compiler: optimization level: 2, target machine: x86-64-v3 C compiler: gcc (redhat, x86_64, 11.5.0) Garbage collector: Serial GC (max heap size: 80% of RAM) 6 user-specific feature(s): - com.oracle.svm.thirdparty.gson.GsonFeature - io.quarkus.runner.Feature: Auto-generated class by Quarkus from the existing extensions - io.quarkus.runtime.graal.DisableLoggingFeature: Adapts logging during the analysis phase - io.quarkus.runtime.graal.JVMChecksFeature - io.quarkus.runtime.graal.SkipConsoleServiceProvidersFeature: Skip unsupported console service providers when quarkus.native.auto-service-loader-registration is false - org.eclipse.angus.activation.nativeimage.AngusActivationFeature ------------------------------------------------------------------------------------------------------------------------ 5 experimental option(s) unlocked: - '-H:+AllowFoldMethods' (origin(s): command line) - '-H:BuildOutputJSONFile' (origin(s): command line) - '-H:-UseServiceLoaderFeature' (origin(s): command line) - '-H:+GenerateBuildArtifactsFile' (origin(s): command line) - '-H:AddOpens' (alternative API option(s): --add-opens java.base/java.lang=ALL-UNNAMED; origin(s): command line) ------------------------------------------------------------------------------------------------------------------------ Build resources: - 5.33GB of memory (34.1% of 15.62GB system memory, set via '-Xmx6g') - 4 thread(s) (100.0% of 4 available processor(s), determined at start) Warning: Resource scanning is taking a long time. This can be caused by class-path or module-path entries that point to large directory structures. Please make sure class-/module-path entries are easily accessible to native-image Total scanned entries: 7649, current entry: jrt:/java.desktop/javax/swing/text/ZoneView.class Total scanned entries: 10276, current entry: jrt:/java.desktop/java/awt/desktop/PreferencesEvent.class Total scanned entries: 12895, current entry: file:///opt/mandrel/lib/jvmci/graal.jar Total scanned entries: 15533, current entry: file:///opt/mandrel/lib/jvmci/graal.jar Total scanned entries: 18160, current entry: jrt:/jdk.jshell/jdk/internal/jshell/tool/Selector$FormatUnresolved.class Total scanned entries: 20727, current entry: jrt:/jdk.javadoc/jdk/javadoc/internal/doclets/toolkit/taglets/InheritableTaglet.class Total scanned entries: 23272, current entry: file:///opt/mandrel/lib/svm/builder/svm.jar Total scanned entries: 25844, current entry: file:///opt/mandrel/lib/svm/builder/svm.jar Total scanned entries: 28381, current entry: jrt:/java.base/sun/security/util/ManifestDigester$Entry.class Total scanned entries: 30908, current entry: jrt:/java.base/jdk/internal/icu/impl/Trie2.class Total scanned entries: 33364, current entry: jrt:/java.base/java/util/concurrent/SynchronousQueue$FifoWaitQueue.class Total scanned entries: 35797, current entry: jrt:/jdk.compiler/com/sun/tools/javac/tree/JCTree$JCCase.class Total scanned entries: 38256, current entry: file:///project/lib/jakarta.enterprise.jakarta.enterprise.cdi-api-4.1.0.jar Total scanned entries: 40302, current entry: file:///project/lib/jakarta.transaction.jakarta.transaction-api-2.0.1.jar Total scanned entries: 42756, current entry: file:///project/lib/org.apache.camel.camel-tooling-model-4.16.0.jar Total scanned entries: 45269, current entry: file:///project/lib/org.apache.camel.camel-endpointdsl-4.16.0.jar Total scanned entries: 47676, current entry: file:///project/lib/org.apache.camel.camel-main-4.16.0.jar Total scanned entries: 50087, current entry: file:///project/lib/io.netty.netty-handler-4.1.128.Final.jar Total scanned entries: 52496, current entry: file:///project/lib/io.fabric8.kubernetes-model-core-7.4.0.jar Total scanned entries: 54902, current entry: file:///project/lib/io.fabric8.kubernetes-model-apps-7.4.0.jar Total scanned entries: 57309, current entry: file:///project/lib/io.fabric8.kubernetes-model-storageclass-7.4.0.jar Total scanned entries: 59314, current entry: file:///project/lib/io.netty.netty-common-4.1.128.Final.jar Total scanned entries: 61722, current entry: file:///project/lib/org.yaml.snakeyaml-2.5.jar Total scanned entries: 64114, current entry: file:///project/lib/io.fabric8.openshift-model-7.4.0.jar Total scanned entries: 66501, current entry: file:///project/lib/io.fabric8.openshift-model-monitoring-7.4.0.jar Total scanned entries: 68887, current entry: file:///project/lib/io.fabric8.openshift-model-machineconfiguration-7.4.0.jar Total scanned entries: 70876, current entry: file:///project/lib/io.smallrye.reactive.mutiny-3.1.0.jar Total scanned entries: 73262, current entry: file:///project/lib/com.fasterxml.jackson.core.jackson-databind-2.20.1.jar Total scanned entries: 75646, current entry: file:///project/lib/jakarta.xml.bind.jakarta.xml.bind-api-4.0.4.jar [2/8] Performing analysis... [******] (1231.4s @ 4.37GB) GC warning: 1070.8s spent in 1191 GCs during the last stage, taking up 86.91% of the time. Please ensure more than 5.78GB of memory is available for Native Image to reduce GC overhead and improve image build time. 31,345 reachable types (90.5% of 34,622 total) 65,929 reachable fields (80.5% of 81,865 total) 320,394 reachable methods (82.4% of 388,927 total) 18,206 types, 37,247 fields, and 192,575 methods registered for reflection 62 types, 67 fields, and 55 methods registered for JNI access 4 native libraries: dl, pthread, rt, z === Image generator watchdog detected no activity. This can be a sign of a deadlock during image building. Dumping all stack traces. Current time: Thu Dec 11 04:18:45 GMT 2025 "main" Id=1 in RUNNABLE at [email protected]/jdk.vm.ci.meta.ModifiersProvider.isFinalFlagSet(ModifiersProvider.java:72) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.methodhandles.MethodHandleInvokerRenamingSubstitutionProcessor.shouldReplace(MethodHandleInvokerRenamingSubstitutionProcessor.java:82) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.methodhandles.MethodHandleInvokerRenamingSubstitutionProcessor.lookup(MethodHandleInvokerRenamingSubstitutionProcessor.java:75) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.infrastructure.SubstitutionProcessor$ChainedSubstitutionProcessor.lookup(SubstitutionProcessor.java:125) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.infrastructure.SubstitutionProcessor$ChainedSubstitutionProcessor.lookup(SubstitutionProcessor.java:125) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.infrastructure.SubstitutionProcessor$ChainedSubstitutionProcessor.lookup(SubstitutionProcessor.java:125) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.infrastructure.SubstitutionProcessor$ChainedSubstitutionProcessor.lookup(SubstitutionProcessor.java:125) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.infrastructure.SubstitutionProcessor$ChainedSubstitutionProcessor.lookup(SubstitutionProcessor.java:125) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.infrastructure.SubstitutionProcessor$ChainedSubstitutionProcessor.lookup(SubstitutionProcessor.java:125) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.infrastructure.SubstitutionProcessor$ChainedSubstitutionProcessor.lookup(SubstitutionProcessor.java:125) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisUniverse.lookupAllowUnresolved(AnalysisUniverse.java:217) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup(AnalysisUniverse.java:197) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup(AnalysisUniverse.java:78) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.infrastructure.WrappedSignature.getReturnType(WrappedSignature.java:75) at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.infrastructure.WrappedSignature.getReturnType(WrappedSignature.java:67) at app/org.graalvm.nativeimage.builder/com.oracle.svm.core.SubstrateUtil.uniqueShortName(SubstrateUtil.java:338) at app/org.graalvm.nativeimage.builder/com.oracle.svm.core.UniqueShortNameProviderDefaultImpl.uniqueShortName(UniqueShortNameProviderDefaultImpl.java:48) at app/org.graalvm.nativeimage.builder/com.oracle.svm.core.SubstrateUtil.uniqueShortName(SubstrateUtil.java:302) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.meta.HostedMethod.lambda$create0$0(HostedMethod.java:161) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.meta.HostedMethod$$Lambda/0x00000007c2c17c68.apply(Unknown Source) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.meta.HostedMethodNameFactory.createNames(HostedMethod.java:614) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.meta.HostedMethod.create0(HostedMethod.java:166) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.meta.HostedMethod.create(HostedMethod.java:148) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.meta.UniverseBuilder.makeMethod(UniverseBuilder.java:313) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.meta.UniverseBuilder.build(UniverseBuilder.java:159) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:611) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:550) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:538) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:727) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:142) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:97) "Reference Handler" Id=5 in RUNNABLE at [email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method) at [email protected]/java.lang.ref.Reference.processPendingReferences(Reference.java:246) at [email protected]/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:208) "Finalizer" Id=6 in WAITING on lock=java.lang.ref.NativeReferenceQueue$Lock@48d39f52 at [email protected]/java.lang.Object.wait0(Native Method) at [email protected]/java.lang.Object.wait(Object.java:366) at [email protected]/java.lang.Object.wait(Object.java:339) at [email protected]/java.lang.ref.NativeReferenceQueue.await(NativeReferenceQueue.java:48) at [email protected]/java.lang.ref.ReferenceQueue.remove0(ReferenceQueue.java:158) at [email protected]/java.lang.ref.NativeReferenceQueue.remove(NativeReferenceQueue.java:89) at [email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:173) "Signal Dispatcher" Id=7 in RUNNABLE "Common-Cleaner" Id=13 in TIMED_WAITING on lock=java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4e9fb2f at [email protected]/jdk.internal.misc.Unsafe.park(Native Method) at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269) at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1886) at [email protected]/java.lang.ref.ReferenceQueue.await(ReferenceQueue.java:71) at [email protected]/java.lang.ref.ReferenceQueue.remove0(ReferenceQueue.java:143) at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:218) at [email protected]/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140) at [email protected]/java.lang.Thread.runWith(Thread.java:1596) at [email protected]/java.lang.Thread.run(Thread.java:1583) at [email protected]/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186) "Notification Thread" Id=14 in RUNNABLE "native-image pid watcher" Id=15 in TIMED_WAITING on lock=java.util.TaskQueue@79d17306 at [email protected]/java.lang.Object.wait0(Native Method) at [email protected]/java.lang.Object.wait(Object.java:366) at [email protected]/java.util.TimerThread.mainLoop(Timer.java:563) at [email protected]/java.util.TimerThread.run(Timer.java:516) "Thread-1" Id=16 in RUNNABLE at [email protected]/sun.management.ThreadImpl.dumpThreads0(Native Method) at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:518) at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:506) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.DeadlockWatchdog.threadDump(DeadlockWatchdog.java:125) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.DeadlockWatchdog.watchdogThread(DeadlockWatchdog.java:82) at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.DeadlockWatchdog$$Lambda/0x00000007c01874d0.run(Unknown Source) at [email protected]/java.lang.Thread.runWith(Thread.java:1596) at [email protected]/java.lang.Thread.run(Thread.java:1583) === Memory statistics (in MB): === Used heap size: 4773 === Free heap size: 297 === Maximum heap size: 5461 === Image generator watchdog is aborting image generation. To configure the watchdog, use the options -H:DeadlockWatchdogInterval=10 and -H:+DeadlockWatchdogExitOnTimeout Error: Image build request for 'camel-quarkus-integration-test-kubernetes-3.31.0-SNAPSHOT-runner' (pid: 52, path: /project) failed with exit status 30 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
