[
https://issues.apache.org/jira/browse/CAMEL-21145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17911121#comment-17911121
]
Claus Ibsen commented on CAMEL-21145:
-------------------------------------
This may fix this
https://github.com/apache/camel/commit/8376227609a09ad0faaabf95d4d439dfda57c25a
> SolrCloudProducerIT is failing on ppc64le architecture
> ------------------------------------------------------
>
> Key: CAMEL-21145
> URL: https://issues.apache.org/jira/browse/CAMEL-21145
> Project: Camel
> Issue Type: Test
> Components: camel-solr
> Affects Versions: 4.8.0
> Reporter: Aurélien Pupier
> Priority: Minor
> Attachments: screenshot-1.png
>
>
> it failed 10 times in a row:
> {noformat}
> org.testcontainers.containers.ContainerLaunchException: Container startup
> failed for image solr:9.6.1
> at
> org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:359)
> at
> org.testcontainers.containers.GenericContainer.start(GenericContainer.java:330)
> at
> org.apache.camel.test.infra.solr.services.SolrLocalContainerService.initialize(SolrLocalContainerService.java:42)
> at
> org.apache.camel.test.infra.common.services.TestServiceUtil.tryInitialize(TestServiceUtil.java:43)
> at
> org.apache.camel.test.infra.solr.services.SolrService.beforeAll(SolrService.java:36)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> 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:344)
> ... 5 more
> Caused by: org.testcontainers.containers.ContainerLaunchException: Could not
> create/start container
> at
> org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:563)
> at
> org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:354)
> at
> org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
> ... 6 more
> Caused by:
> org.testcontainers.shaded.org.awaitility.core.ConditionTimeoutException:
> org.testcontainers.containers.GenericContainer expected the predicate to
> return <true> but it returned <false> for input of
> <InspectContainerResponse(args=[-c],
> config=ContainerConfig(attachStderr=false, attachStdin=false,
> attachStdout=false, cmd=[-c], domainName=, entrypoint=[docker-entrypoint.sh],
> env=[PATH=/opt/solr/bin:/opt/solr/docker/scripts:/opt/solr/prometheus-exporter/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin,
> JAVA_HOME=/opt/java/openjdk, LANG=en_US.UTF-8, LANGUAGE=en_US:en,
> LC_ALL=en_US.UTF-8, JAVA_VERSION=jdk-17.0.12+7, SOLR_USER=solr,
> SOLR_UID=8983, SOLR_GROUP=solr, SOLR_GID=8983,
> SOLR_INCLUDE=/etc/default/solr.in.sh, SOLR_HOME=/var/solr/data,
> SOLR_PID_DIR=/var/solr, SOLR_LOGS_DIR=/var/solr/logs,
> LOG4J_PROPS=/var/solr/log4j2.xml, SOLR_JETTY_HOST=0.0.0.0,
> SOLR_ZK_EMBEDDED_HOST=0.0.0.0], exposedPorts=[8983/tcp],
> hostName=c72ddddb93d5, image=solr:9.6.1,
> labels={org.opencontainers.image.authors=The Apache Solr Project,
> org.opencontainers.image.description=Apache Solr is the popular,
> blazing-fast, open source search platform built on Apache Lucene.,
> org.opencontainers.image.documentation=https://solr.apache.org/guide/,
> org.opencontainers.image.licenses=Apache-2.0,
> org.opencontainers.image.ref.name=ubuntu,
> org.opencontainers.image.source=https://github.com/apache/solr,
> org.opencontainers.image.title=Apache Solr,
> org.opencontainers.image.url=https://solr.apache.org,
> org.opencontainers.image.version=9.6.1, org.testcontainers=true,
> org.testcontainers.lang=java,
> org.testcontainers.sessionId=0fcf922a-d4b1-43c9-a126-ece5f1c2d7fa,
> org.testcontainers.version=1.20.1}, macAddress=null, networkDisabled=null,
> onBuild=null, stdinOpen=false, portSpecs=null, stdInOnce=false, tty=false,
> user=8983, volumes={/var/solr={}}, workingDir=/opt/solr, healthCheck=null),
> created=2024-08-30T03:48:23.502776229Z, driver=overlay2, execDriver=null,
> hostConfig=HostConfig(binds=[], blkioWeight=0, blkioWeightDevice=null,
> blkioDeviceReadBps=null, blkioDeviceWriteBps=null, blkioDeviceReadIOps=null,
> blkioDeviceWriteIOps=null, memorySwappiness=null, nanoCPUs=0, 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=shareable, 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={8983/tcp=[Lcom.github.dockerjava.api.model.Ports$Binding;@6944e53e},
> 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/c72ddddb93d541ca9824a5c6661ca5dcf725ed67e50c675758af456d062faa73/hostname,
>
> hostsPath=/var/lib/docker/containers/c72ddddb93d541ca9824a5c6661ca5dcf725ed67e50c675758af456d062faa73/hosts,
>
> logPath=/var/lib/docker/containers/c72ddddb93d541ca9824a5c6661ca5dcf725ed67e50c675758af456d062faa73/c72ddddb93d541ca9824a5c6661ca5dcf725ed67e50c675758af456d062faa73-json.log,
> id=c72ddddb93d541ca9824a5c6661ca5dcf725ed67e50c675758af456d062faa73,
> sizeRootFs=null, sizeRw=null,
> imageId=sha256:aba2ddab3b6e21f30ee894979eb82d833478fd011532d0d02e83d9530617f81d,
> mountLabel=, name=/jovial_cerf, restartCount=0,
> networkSettings=NetworkSettings(bridge=, sandboxId=, hairpinMode=false,
> linkLocalIPv6Address=, linkLocalIPv6PrefixLen=0, 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=7a4244e88b61040d49ee25986c069bc8e8a3e8b74648ce5ba96504311af33cd9,
> endpointId=, gateway=, ipAddress=, ipPrefixLen=0, ipV6Gateway=,
> globalIPv6Address=, globalIPv6PrefixLen=0, macAddress=)}),
> path=docker-entrypoint.sh, processLabel=,
> resolvConfPath=/var/lib/docker/containers/c72ddddb93d541ca9824a5c6661ca5dcf725ed67e50c675758af456d062faa73/resolv.conf,
> execIds=null, state=InspectContainerResponse.ContainerState(status=exited,
> running=false, paused=false, restarting=false, oomKilled=false, dead=false,
> pid=0, exitCode=1, error=, startedAt=2024-08-30T03:48:29.049280191Z,
> finishedAt=2024-08-30T03:48:33.236364461Z, health=null), volumes=null,
> volumesRW=null, node=null,
> mounts=[InspectContainerResponse.Mount(name=41ffe245002a20cdf7946521c15324b89da64e103794a0a2bbb9314cd2764016,
>
> source=/var/lib/docker/volumes/41ffe245002a20cdf7946521c15324b89da64e103794a0a2bbb9314cd2764016/_data,
> destination=/var/solr, 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:985)
> at
> org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:691)
> at
> org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:708)
> at
> org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:466)
> ... 8 more
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)