This is an automated email from the ASF dual-hosted git repository.

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new ad41bd08629b CAMEL-26580: Docling-serve ppc64le integration tests 
activation (#28838)
ad41bd08629b is described below

commit ad41bd08629b6d1921df8bb83ff27622e633c720
Author: Megha-Megha13 <[email protected]>
AuthorDate: Mon Nov 9 14:19:58 2026 +0530

    CAMEL-26580: Docling-serve ppc64le integration tests activation (#28838)
    
    * Activate Docling Serve integration tests on ppc64le
    
    * Run batch path list validation test on all architectures
    
    * Update the ppc64le image in container.properties
    
    * CAMEL-26580: Restrict Docling fork timeout to ppc64le
    
    * CAMEL-26580: Clarify Docling sync wait timeout comment
---
 components/camel-ai/camel-docling/pom.xml               | 17 +++++++++++++++--
 .../docling/integration/DoclingITestSupport.java        |  2 +-
 .../services/DoclingLocalContainerInfraService.java     |  3 +++
 .../test/infra/docling/services/container.properties    |  2 ++
 4 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/components/camel-ai/camel-docling/pom.xml 
b/components/camel-ai/camel-docling/pom.xml
index b2bfcf42b8f5..2e5b3b1beac1 100644
--- a/components/camel-ai/camel-docling/pom.xml
+++ b/components/camel-ai/camel-docling/pom.xml
@@ -35,9 +35,22 @@
 
     <properties>
         <skipITs.s390x>true</skipITs.s390x>
-        <skipITs.ppc64le>true</skipITs.ppc64le>
     </properties>
 
+    <profiles>
+        <profile>
+            <id>ppc64le</id>
+            <activation>
+                <os>
+                    <arch>ppc64le</arch>
+                </os>
+            </activation>
+            <properties>
+                <camel.failsafe.forkTimeout>1800</camel.failsafe.forkTimeout>
+            </properties>
+        </profile>
+    </profiles>
+
     <dependencies>
 
         <dependency>
@@ -90,4 +103,4 @@
 
     </dependencies>
 
-</project>
\ No newline at end of file
+</project>
diff --git 
a/components/camel-ai/camel-docling/src/test/java/org/apache/camel/component/docling/integration/DoclingITestSupport.java
 
b/components/camel-ai/camel-docling/src/test/java/org/apache/camel/component/docling/integration/DoclingITestSupport.java
index dccc838c759e..4d06ff3d8e77 100644
--- 
a/components/camel-ai/camel-docling/src/test/java/org/apache/camel/component/docling/integration/DoclingITestSupport.java
+++ 
b/components/camel-ai/camel-docling/src/test/java/org/apache/camel/component/docling/integration/DoclingITestSupport.java
@@ -41,7 +41,7 @@ public abstract class DoclingITestSupport extends 
CamelTestSupport {
         conf.setUseDoclingServe(true);
         conf.setDoclingServeUrl(doclingService.doclingServerUrl());
         // PDF processing can take longer than the default 30s, especially for 
complex invoices
-        conf.setProcessTimeout(300000);
+        conf.setProcessTimeout("ppc64le".equals(System.getProperty("os.arch")) 
? 600000 : 300000);
         docling.setConfiguration(conf);
 
         LOG.info("Testing Docling-Serve at: {}", 
doclingService.doclingServerUrl());
diff --git 
a/test-infra/camel-test-infra-docling/src/main/java/org/apache/camel/test/infra/docling/services/DoclingLocalContainerInfraService.java
 
b/test-infra/camel-test-infra-docling/src/main/java/org/apache/camel/test/infra/docling/services/DoclingLocalContainerInfraService.java
index 0056b580e9de..80ef1e42ebc3 100644
--- 
a/test-infra/camel-test-infra-docling/src/main/java/org/apache/camel/test/infra/docling/services/DoclingLocalContainerInfraService.java
+++ 
b/test-infra/camel-test-infra-docling/src/main/java/org/apache/camel/test/infra/docling/services/DoclingLocalContainerInfraService.java
@@ -68,6 +68,9 @@ public class DoclingLocalContainerInfraService implements 
DoclingInfraService, C
                 waitingFor(Wait.forListeningPorts(DOCLING_PORT))
                         .withStartupTimeout(Duration.ofMinutes(3L));
 
+                // Match the test timeout (300 seconds on x86_64, 600 seconds 
on ppc64le); Docling defaults to 120 seconds.
+                withEnv("DOCLING_SERVE_MAX_SYNC_WAIT", 
"ppc64le".equals(System.getProperty("os.arch")) ? "600" : "300");
+
                 ContainerEnvironmentUtil.configurePort(this, fixedPort, 
DOCLING_PORT);
             }
         }
diff --git 
a/test-infra/camel-test-infra-docling/src/main/resources/org/apache/camel/test/infra/docling/services/container.properties
 
b/test-infra/camel-test-infra-docling/src/main/resources/org/apache/camel/test/infra/docling/services/container.properties
index 182490fa7e46..5e9ee9afc4b1 100644
--- 
a/test-infra/camel-test-infra-docling/src/main/resources/org/apache/camel/test/infra/docling/services/container.properties
+++ 
b/test-infra/camel-test-infra-docling/src/main/resources/org/apache/camel/test/infra/docling/services/container.properties
@@ -16,3 +16,5 @@
 ## ---------------------------------------------------------------------------
 ## Docling container configuration for test-infra
 docling.container=quay.io/docling-project/docling-serve:v1.38.2
+# Pin to the latest available ppc64le image; update when IBM publishes a newer 
tag.
+docling.container.ppc64le=icr.io/ppc64le-oss/docling-serve-ppc64le:1.35.0

Reply via email to