Aurélien Pupier created CAMEL-24458:
---------------------------------------
Summary: Cassandra Integration Tests are broken on s390x
Key: CAMEL-24458
URL: https://issues.apache.org/jira/browse/CAMEL-24458
Project: Camel
Issue Type: Test
Components: camel-cassandraql
Reporter: Aurélien Pupier
{noformat}
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image mirror.gcr.io/cassandra:5.0.8
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
org.apache.camel.test.infra.cassandra.services.CassandraLocalContainerInfraService.initialize(CassandraLocalContainerInfraService.java:98)
at
org.apache.camel.test.infra.common.services.TestServiceUtil.tryInitialize(TestServiceUtil.java:54)
at
org.apache.camel.test.infra.common.services.TestService.beforeAll(TestService.java:28)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit
with exception
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 5 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not
create/start container
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 6 more
Caused by:
org.testcontainers.shaded.org.awaitility.core.ConditionTimeoutException: Lambda
expression in org.testcontainers.containers.GenericContainer expected the
predicate to return <true> but it returned <false> for input of
<InspectContainerResponse(args=[cassandra, -f],
config=ContainerConfig(attachStderr=false, attachStdin=false,
attachStdout=false, cmd=[cassandra, -f], domainName=,
entrypoint=[docker-entrypoint.sh], env=[MAX_HEAP_SIZE=1024M, HEAP_NEWSIZE=128M,
CASSANDRA_ENDPOINT_SNITCH=GossipingPropertyFileSnitch,
CASSANDRA_SNITCH=GossipingPropertyFileSnitch, CASSANDRA_DC=datacenter1,
JVM_OPTS=-Dcassandra.skip_wait_for_gossip_to_settle=0
-Dcassandra.initial_token=0,
PATH=/opt/cassandra/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin,
GOSU_VERSION=1.19, JAVA_HOME=/opt/java/openjdk, CASSANDRA_HOME=/opt/cassandra,
CASSANDRA_CONF=/etc/cassandra,
GPG_KEYS=CEC86BB4A0BA9D0F90397CAEF8358FA2F2833C93
C4965EE9E3015D192CCCF2B6F758CE318D77295D
5AED1BF378E9A19DADE1BCB34BD736A82B5C1B00
514A2AD631A57A16DD0047EC749D6EEC0353B12C
A26E528B271F19B9E5D8E19EA278B781FE4B2BDA
A4C465FEA0C552561A392A61E91335D77E3E87CB
9E66CEC6106D578D0B1EB9BFF1000962B7F6840C
C4009872C59B49561310D966D0062876AF30F054
B7842CDAF36E6A3214FAE35D5E85B9AE0B84C041
3E9C876907A560ACA00964F363E9BAD215BBF5F0
F8B7FD00E05C932991A2CD6150EE103D162C5A55
7464AAD9068241C50BA6A26232F35CB2F546D93E
CEC5C50B9C629EF0F5AB2706650B72EB14CCD622, CASSANDRA_VERSION=5.0.8,
CASSANDRA_SHA512=06b7af18c8f41dc13dbfdae186d565a5f91e71ea413c3c5373aec8a4e5074c6dee5632a0e5e98c21665f08f7291d7ca384f61a323c02610c6bca51e074b5a0c4],
exposedPorts=[7000/tcp, 7001/tcp, 7199/tcp, 9042/tcp, 9160/tcp],
hostName=60499548a25c, image=mirror.gcr.io/cassandra:5.0.8,
labels={org.testcontainers=true, org.testcontainers.lang=java,
org.testcontainers.sessionId=802daa51-801a-497e-94a3-3b598b426230,
org.testcontainers.version=2.0.5}, macAddress=null, networkDisabled=null,
onBuild=null, stdinOpen=false, portSpecs=null, stdInOnce=false, tty=false,
user=, volumes={/var/lib/cassandra={}}, workingDir=, healthCheck=null),
created=2026-08-23T23:02:39.619415354Z, driver=overlay2, execDriver=null,
hostConfig=HostConfig(binds=[], blkioWeight=0, blkioWeightDevice=null,
blkioDeviceReadBps=null, blkioDeviceWriteBps=null, blkioDeviceReadIOps=null,
blkioDeviceWriteIOps=null, memorySwappiness=null, nanoCPUs=0, annotations=null,
capAdd=null, capDrop=null, containerIDFile=, cpuPeriod=0, cpuRealtimePeriod=0,
cpuRealtimeRuntime=0, cpuShares=0, cpuQuota=0, cpusetCpus=, cpusetMems=,
devices=null, deviceCgroupRules=null, deviceRequests=null, diskQuota=null,
dns=null, dnsOptions=null, dnsSearch=null, extraHosts=[], groupAdd=null,
ipcMode=private, cgroup=, links=[], logConfig=LogConfig(type=json-file,
config={}), lxcConf=null, memory=0, memorySwap=0, memoryReservation=0,
kernelMemory=null, networkMode=bridge, oomKillDisable=null, init=null,
autoRemove=false, oomScoreAdj=0,
portBindings={9042/tcp=[Lcom.github.dockerjava.api.model.Ports$Binding;@4809c771},
privileged=false, publishAllPorts=false, readonlyRootfs=false,
restartPolicy=no, ulimits=null, cpuCount=0, cpuPercent=0, ioMaximumIOps=0,
ioMaximumBandwidth=0, volumesFrom=[], mounts=null, pidMode=, isolation=null,
securityOpts=null, storageOpt=null, cgroupParent=, volumeDriver=,
shmSize=67108864, pidsLimit=null, runtime=runc, tmpFs=null, utSMode=,
usernsMode=, sysctls=null, consoleSize=[0, 0], cgroupnsMode=private),
hostnamePath=/var/lib/docker/containers/60499548a25cd6e7ffe9dabc0eb14ad2ddb662a604039e60921cb3f03aac6851/hostname,
hostsPath=/var/lib/docker/containers/60499548a25cd6e7ffe9dabc0eb14ad2ddb662a604039e60921cb3f03aac6851/hosts,
logPath=/var/lib/docker/containers/60499548a25cd6e7ffe9dabc0eb14ad2ddb662a604039e60921cb3f03aac6851/60499548a25cd6e7ffe9dabc0eb14ad2ddb662a604039e60921cb3f03aac6851-json.log,
id=60499548a25cd6e7ffe9dabc0eb14ad2ddb662a604039e60921cb3f03aac6851,
sizeRootFs=null, sizeRw=null,
imageId=sha256:aba0e4effd1bb701f18d8d74b212a86f2494c0459ae2f58cc59408cba65d2f4c,
mountLabel=, name=/camel-cassandra-1357224-1, restartCount=0,
networkSettings=NetworkSettings(bridge=null, sandboxId=, hairpinMode=null,
linkLocalIPv6Address=null, linkLocalIPv6PrefixLen=null, ports={}, sandboxKey=,
secondaryIPAddresses=null, secondaryIPv6Addresses=null, endpointID=, gateway=,
portMapping=null, globalIPv6Address=, globalIPv6PrefixLen=0, ipAddress=,
ipPrefixLen=0, ipV6Gateway=, macAddress=,
networks={bridge=ContainerNetwork(ipamConfig=null, links=[], aliases=null,
networkID=838a1562428c43a4a2f31351bcea967d38b6d8ecf9fbfa91c89fea1421e90e97,
endpointId=, gateway=, ipAddress=, ipPrefixLen=0, ipV6Gateway=,
globalIPv6Address=, globalIPv6PrefixLen=0, macAddress=)}),
path=docker-entrypoint.sh, processLabel=,
resolvConfPath=/var/lib/docker/containers/60499548a25cd6e7ffe9dabc0eb14ad2ddb662a604039e60921cb3f03aac6851/resolv.conf,
execIds=null, state=InspectContainerResponse.ContainerState(status=exited,
running=false, paused=false, restarting=false, oomKilled=false, dead=false,
pid=0, exitCode=255, error=, startedAt=2026-08-23T23:02:39.728932803Z,
finishedAt=2026-08-23T23:02:40.002245304Z, health=null), volumes=null,
volumesRW=null, node=null,
mounts=[InspectContainerResponse.Mount(name=f1526d09d09f47195a26b9e68d68b8d3e169051a7dda6d96b22b4091727fef65,
source=/var/lib/docker/volumes/f1526d09d09f47195a26b9e68d68b8d3e169051a7dda6d96b22b4091727fef65/_data,
destination=/var/lib/cassandra, driver=local, mode=, rw=true)],
graphDriver=GraphDriver(name=overlay2, data=GraphData(rootDir=null,
deviceId=null, deviceName=null, deviceSize=null, dir=null)), platform=linux)>
within 5 seconds.
at
org.testcontainers.shaded.org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at
org.testcontainers.shaded.org.awaitility.core.AbstractHamcrestCondition.await(AbstractHamcrestCondition.java:86)
at
org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1160)
at
org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:712)
at
org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:729)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:453)
... 8 more
{noformat}
it is failing for 36 builds. unfortunately, i do not have anymore the history
when it started but the only change that I spotted related to cassandra files
in somewhat related timeframe seems to be
https://github.com/apache/camel/commit/bb6882f9f2f041015227f874fb4b51910d09ee9c
but sounds weird that it would impact a single architecture
--
This message was sent by Atlassian Jira
(v8.20.10#820010)