You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by fm...@apache.org on 2026/04/10 09:01:49 UTC

(camel) branch ci-fix/couchbase-cpu-check created (now a4849f920578)

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

fmariani pushed a change to branch ci-fix/couchbase-cpu-check
in repository https://gitbox.apache.org/repos/asf/camel.git


      at a4849f920578 CAMEL-23300: bypass Couchbase 8.0 CPU microarchitecture check in test-infra

This branch includes the following new commits:

     new a4849f920578 CAMEL-23300: bypass Couchbase 8.0 CPU microarchitecture check in test-infra

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(camel) 01/01: CAMEL-23300: bypass Couchbase 8.0 CPU microarchitecture check in test-infra

Posted by fm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

fmariani pushed a commit to branch ci-fix/couchbase-cpu-check
in repository https://gitbox.apache.org/repos/asf/camel.git

commit a4849f920578af3eac4e1a0778a7d74a2ccffe09
Author: Croway <fe...@gmail.com>
AuthorDate: Fri Apr 10 11:01:31 2026 +0200

    CAMEL-23300: bypass Couchbase 8.0 CPU microarchitecture check in test-infra
    
    Couchbase 8.0 added a startup check requiring x86-64-v3 (AVX2). CI agents
    with older CPUs cause the container to exit(1) after 2 seconds, breaking
    camel-kafka-connector daily builds since build #345.
---
 .../infra/couchbase/services/CouchbaseLocalContainerInfraService.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test-infra/camel-test-infra-couchbase/src/main/java/org/apache/camel/test/infra/couchbase/services/CouchbaseLocalContainerInfraService.java b/test-infra/camel-test-infra-couchbase/src/main/java/org/apache/camel/test/infra/couchbase/services/CouchbaseLocalContainerInfraService.java
index 62347ef1422e..1f22bd4a9e7a 100644
--- a/test-infra/camel-test-infra-couchbase/src/main/java/org/apache/camel/test/infra/couchbase/services/CouchbaseLocalContainerInfraService.java
+++ b/test-infra/camel-test-infra-couchbase/src/main/java/org/apache/camel/test/infra/couchbase/services/CouchbaseLocalContainerInfraService.java
@@ -44,6 +44,10 @@ public class CouchbaseLocalContainerInfraService implements CouchbaseInfraServic
         public CustomCouchbaseContainer(String imageName) {
             super(DockerImageName.parse(imageName).asCompatibleSubstituteFor("couchbase/server"));
 
+            // Couchbase 8.0+ validates CPU microarchitecture (requires x86-64-v3 / AVX2).
+            // CI agents may run on older hardware, causing the container to exit immediately.
+            withEnv("COUCHBASE_DO_NOT_VALIDATE_CPU_MICROARCHITECTURE", "1");
+
             boolean fixedPort = ContainerEnvironmentUtil.isFixedPort(CouchbaseLocalContainerInfraService.class);
             final int kvPort = 11210;
             final int managementPort = 8091;