Jens Deppe created GEODE-9821:
---------------------------------
Summary: Remove use of local docker-compose from Radish native
tests
Key: GEODE-9821
URL: https://issues.apache.org/jira/browse/GEODE-9821
Project: Geode
Issue Type: Improvement
Components: redis
Reporter: Jens Deppe
Recent updates to Docker Desktop have introduced docker compose V2 which does
not appear to be compatible with testcontainers
([https://github.com/testcontainers/testcontainers-java/issues/4565).] This
causes startup to fail with:
{noformat}
org.testcontainers.containers.ContainerLaunchException: Container startup
failed at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:330)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:311)
at
org.testcontainers.containers.DockerComposeContainer.startAmbassadorContainers(DockerComposeContainer.java:330)
at
org.testcontainers.containers.DockerComposeContainer.start(DockerComposeContainer.java:178)
at
org.apache.geode.redis.NativeRedisClusterTestRule$1.evaluate(NativeRedisClusterTestRule.java:90)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at
com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
at
com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:235)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:54)
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:323)
... 14 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not
create/start container
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:497)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:325)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 15 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Aborting
attempt to link to container acceptancet7mloa_redis-node-1_1 as it is not
running
at
org.testcontainers.containers.GenericContainer.applyConfiguration(GenericContainer.java:779)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:359)
... 17 more
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)