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 03ad21d1084e Fix ignite tests when Ipv6 is used (on Jenkins ppc64le)
03ad21d1084e is described below

commit 03ad21d1084e46fb6e4f823ae15299eee97849f0
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Tue Mar 3 11:21:01 2026 +0100

    Fix ignite tests when Ipv6 is used (on Jenkins ppc64le)
    
    due to a limitation with ignite
    https://github.com/apache/ignite/issues/10648 , when Ipv6 is used a path
    with a too long name is created causing this kind of error:
    
    ```
    Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
    create page store work directory:
    
/home/jenkins/712657a4/workspace/l_Camel_Core_Build_and_test_main/components/camel-ignite/ignite/work/db/0_0_0_0_0_0_0_1_lo_127_0_0_1_140_211_168_51_172_17_0_1_2605_bc80_3010_500_2ae2_df68_ddb5_b30d_enp0s1_2605_bc80_3010_500_49b6_174f_c257_989b_enp0s1_2605_bc80_3010_500_5c75_1cd_c31b_18bb_enp0s1_2605_bc80_3010_500_6901_e190_8428_d693_enp0s1_2605_bc80_3010_500_8701_f209_ec6e_1b7b_enp0s1_2605_bc80_3010_500_bfd3_a0e3_608c_e985_enp0s1_2605_bc80_3010_500_f816_3eff_fea2_6bbc_enp0s1_2605_bc8
 [...]
            at 
org.apache.ignite.internal.util.IgniteUtils.ensureDirectory(IgniteUtils.java:10028)
    ```
    
    the workaround used is to override the node naming
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .../camel/test/infra/ignite/services/IgniteEmbeddedInfraService.java   | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/test-infra/camel-test-infra-ignite/src/main/java/org/apache/camel/test/infra/ignite/services/IgniteEmbeddedInfraService.java
 
b/test-infra/camel-test-infra-ignite/src/main/java/org/apache/camel/test/infra/ignite/services/IgniteEmbeddedInfraService.java
index abb9314866ab..c9dbeea98732 100644
--- 
a/test-infra/camel-test-infra-ignite/src/main/java/org/apache/camel/test/infra/ignite/services/IgniteEmbeddedInfraService.java
+++ 
b/test-infra/camel-test-infra-ignite/src/main/java/org/apache/camel/test/infra/ignite/services/IgniteEmbeddedInfraService.java
@@ -37,6 +37,7 @@ import org.slf4j.LoggerFactory;
               serviceAlias = "ignite")
 public class IgniteEmbeddedInfraService implements IgniteInfraService {
     private static final Logger LOG = 
LoggerFactory.getLogger(IgniteEmbeddedInfraService.class);
+    private static int nodeCounter = 0;
 
     private static final TcpDiscoveryIpFinder LOCAL_IP_FINDER = new 
TcpDiscoveryVmIpFinder(false) {
         {
@@ -67,6 +68,8 @@ public class IgniteEmbeddedInfraService implements 
IgniteInfraService {
         System.setProperty("IGNITE_PERFORMANCE_SUGGESTIONS_DISABLED", "true");
         System.setProperty("IGNITE_NO_ASCII", "true");
         System.setProperty("IGNITE_CONSOLE_APPENDER", "true");
+        // workaround to https://github.com/apache/ignite/issues/10648
+        System.setProperty("IGNITE_OVERRIDE_CONSISTENT_ID", "node" + 
nodeCounter++);
 
         IgniteConfiguration config = new IgniteConfiguration();
         config.setIgniteInstanceName(UUID.randomUUID().toString());

Reply via email to