[
https://issues.apache.org/jira/browse/CAMEL-23538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18130781#comment-18130781
]
Aurélien Pupier commented on CAMEL-23538:
-----------------------------------------
another added to the list on next build:
{noformat}
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image mirror.gcr.io/nats:2.15.1
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
org.apache.camel.test.infra.nats.services.NatsLocalContainerInfraService.initialize(NatsLocalContainerInfraService.java:76)
at
org.apache.camel.test.infra.common.services.SingletonService.doInitializeService(SingletonService.java:55)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at
org.apache.camel.test.infra.common.services.SingletonService.addToStore(SingletonService.java:48)
at
org.apache.camel.test.infra.common.services.SingletonService.beforeAll(SingletonService.java:61)
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)
... 7 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)
... 8 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=[--jetstream],
config=ContainerConfig(attachStderr=false, attachStdin=false,
attachStdout=false, cmd=[--jetstream], domainName=, entrypoint=[/nats-server],
env=[PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/],
exposedPorts=[4222/tcp, 6222/tcp, 8222/tcp], hostName=99c3493d6678,
image=mirror.gcr.io/nats:2.15.1, labels={org.testcontainers=true,
org.testcontainers.lang=java,
org.testcontainers.sessionId=5dadceaf-7a57-45c9-b11a-13782df688be,
org.testcontainers.version=2.0.3}, macAddress=null, networkDisabled=null,
onBuild=null, stdinOpen=false, portSpecs=null, stdInOnce=false, tty=false,
user=, volumes=null, workingDir=/, healthCheck=null),
created=2026-10-23T07:52:24.202556144Z, 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={4222/tcp=[Lcom.github.dockerjava.api.model.Ports$Binding;@5a9baba8},
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/99c3493d6678cb7b16046ce7bd8e87458070702dbc71b3f35e353f556ba3dc0c/hostname,
hostsPath=/var/lib/docker/containers/99c3493d6678cb7b16046ce7bd8e87458070702dbc71b3f35e353f556ba3dc0c/hosts,
logPath=/var/lib/docker/containers/99c3493d6678cb7b16046ce7bd8e87458070702dbc71b3f35e353f556ba3dc0c/99c3493d6678cb7b16046ce7bd8e87458070702dbc71b3f35e353f556ba3dc0c-json.log,
id=99c3493d6678cb7b16046ce7bd8e87458070702dbc71b3f35e353f556ba3dc0c,
sizeRootFs=null, sizeRw=null,
imageId=sha256:58b0a4334d90c08ac99dece5ce1a0bc22725ed495668b41c76be02be2d9940ab,
mountLabel=, name=/camel-nats-1903084-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=e2445e4c3c7b94e4cb98198ad296c4a73a729282d417832cf4bab8f26501022b,
endpointId=, gateway=, ipAddress=, ipPrefixLen=0, ipV6Gateway=,
globalIPv6Address=, globalIPv6PrefixLen=0, macAddress=)}), path=/nats-server,
processLabel=,
resolvConfPath=/var/lib/docker/containers/99c3493d6678cb7b16046ce7bd8e87458070702dbc71b3f35e353f556ba3dc0c/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-10-23T07:52:24.500596769Z,
finishedAt=2026-10-23T07:52:25.113954159Z, health=null), volumes=null,
volumesRW=null, node=null, mounts=[], 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)
... 10 more
{noformat}
> Upgrade testcontainers to 2.0.4+
> --------------------------------
>
> Key: CAMEL-23538
> URL: https://issues.apache.org/jira/browse/CAMEL-23538
> Project: Camel
> Issue Type: Dependency upgrade
> Affects Versions: 4.20.0
> Reporter: Aurélien Pupier
> Priority: Major
> Fix For: 4.21.0
>
>
> currently it is causing failure with ppc64le
> https://github.com/apache/camel/pull/22144
> note that we were unable to reproduce with ppc64le machine from internal IBM,
> just with the one used on Apache Camel Jenkins CI
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)