Skip to content

Commit 6dac2bd

Browse files
bm1549claude
andauthored
fix(ci): switch Kafka from native to JVM image to prevent SIGILL crashes (#7708)
apache/kafka-native:3.9.1 is a GraalVM native binary compiled for specific CPU instruction set extensions (AVX2/AVX-512). On GitHub-hosted runners with heterogeneous CPUs that lack those extensions, the container crashes with SIGILL before any tests run. The JVM-based apache/kafka:3.9.1 detects CPU capabilities at runtime and avoids the crash. Co-authored-by: Claude Sonnet 4.6 <[email protected]>
1 parent 804902b commit 6dac2bd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/apm-integrations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ jobs:
250250
runs-on: ubuntu-latest
251251
services:
252252
kafka:
253-
image: apache/kafka-native:3.9.1
253+
image: apache/kafka:3.9.1
254254
env:
255255
KAFKA_PROCESS_ROLES: broker,controller
256256
KAFKA_NODE_ID: "1"
@@ -607,7 +607,7 @@ jobs:
607607
runs-on: ubuntu-latest
608608
services:
609609
kafka:
610-
image: apache/kafka-native:3.9.1
610+
image: apache/kafka:3.9.1
611611
env:
612612
KAFKA_PROCESS_ROLES: broker,controller
613613
KAFKA_NODE_ID: "1"

.github/workflows/appsec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ jobs:
462462
runs-on: ubuntu-latest
463463
services:
464464
kafka:
465-
image: apache/kafka-native:3.9.1
465+
image: apache/kafka:3.9.1
466466
env:
467467
KAFKA_PROCESS_ROLES: broker,controller
468468
KAFKA_NODE_ID: "1"

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ services:
160160
- LAMBDA_EXECUTOR=local
161161
kafka:
162162
platform: linux/arm64
163-
image: apache/kafka-native:3.9.1
163+
image: apache/kafka:3.9.1
164164
ports:
165165
- "127.0.0.1:9092:9092"
166166
- "127.0.0.1:9093:9093"

0 commit comments

Comments
 (0)