You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "flyrain (via GitHub)" <gi...@apache.org> on 2025/11/30 20:53:19 UTC
[I] Tests failed with the latest Docker Desktop [polaris]
flyrain opened a new issue, #3183:
URL: https://github.com/apache/polaris/issues/3183
### Describe the bug
MacOS version: Tahoe 26.1
Docker Desktop version: [4.53.0](https://docs.docker.com/desktop/release-notes/#4530)
Docker Engine version: [v29.0.0+](https://docs.docker.com/engine/release-notes/29/#2900)
Error message:
```
org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=testcontainers/ryuk:0.12.0, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@4a6a6a69)
at app//org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1364)
at app//org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:351)
at app//org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
at app//org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:78)
at app//org.testcontainers.utility.RyukResourceReaper.init(RyukResourceReaper.java:42)
at app//org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:245)
at app//org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:108)
at app//com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:109)
at app//org.testcontainers.containers.GenericContainer.start(GenericContainer.java:321)
at app//org.apache.polaris.service.events.jsonEventListener.aws.cloudwatch.AwsCloudWatchEventListenerTest.createCloudWatchAsyncClient(AwsCloudWatchEventListenerTest.java:120)
at app//org.apache.polaris.service.events.jsonEventListener.aws.cloudwatch.AwsCloudWatchEventListenerTest.ensureObjectMapperCustomizerIsApplied(AwsCloudWatchEventListenerTest.java:312)
at java.base@21.0.9/java.lang.reflect.Method.invoke(Method.java:580)
at java.base@21.0.9/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base@21.0.9/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: com.github.dockerjava.api.exception.BadRequestException: Status 400: {"message":"client version 1.32 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version"}
at app//org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:237)
at app//org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:202)
at app//org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:74)
at app//org.testcontainers.shaded.com.github.dockerjava.core.exec.InspectImageCmdExec.execute(InspectImageCmdExec.java:28)
at app//org.testcontainers.shaded.com.github.dockerjava.core.exec.InspectImageCmdExec.execute(InspectImageCmdExec.java:13)
at app//org.testcontainers.shaded.com.github.dockerjava.core.exec.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:21)
at app//org.testcontainers.shaded.com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33)
at app//org.testcontainers.shaded.com.github.dockerjava.core.command.InspectImageCmdImpl.exec(InspectImageCmdImpl.java:39)
at app//org.testcontainers.images.LocalImagesCache.refreshCache(LocalImagesCache.java:42)
at app//org.testcontainers.images.AbstractImagePullPolicy.shouldPull(AbstractImagePullPolicy.java:24)
at app//org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:79)
at app//org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:35)
at app//org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:20)
at app//org.testcontainers.utility.LazyFuture.get(LazyFuture.java:41)
at app//org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1362)
... 13 more
```
### To Reproduce
_No response_
### Actual Behavior
_No response_
### Expected Behavior
_No response_
### Additional context
_No response_
### System information
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Tests failed with the latest Docker Desktop [polaris]
Posted by "MonkeyCanCode (via GitHub)" <gi...@apache.org>.
MonkeyCanCode commented on issue #3183:
URL: https://github.com/apache/polaris/issues/3183#issuecomment-3605178651
@flyrain this is related to https://github.com/testcontainers/testcontainers-java/issues/11212.
Quick workaround for the people who are using latest docker desktop:
```
echo "api.version=1.44" > ~/.docker-java.properties
```
Or we may want to consider downgrade the testcontainers version to 1.X instead of 2.X
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Tests failed with the latest Docker Desktop [polaris]
Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain commented on issue #3183:
URL: https://github.com/apache/polaris/issues/3183#issuecomment-3608114794
Thanks @MonkeyCanCode! cc @adnanhemani
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Tests failed with the latest Docker Desktop [polaris]
Posted by "MonkeyCanCode (via GitHub)" <gi...@apache.org>.
MonkeyCanCode commented on issue #3183:
URL: https://github.com/apache/polaris/issues/3183#issuecomment-3627691474
Closed as https://github.com/apache/polaris/pull/3227 is merged for temporary workaround.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Tests failed with the latest Docker Desktop [polaris]
Posted by "MonkeyCanCode (via GitHub)" <gi...@apache.org>.
MonkeyCanCode commented on issue #3183:
URL: https://github.com/apache/polaris/issues/3183#issuecomment-3621414986
Instead of local fix, raised https://github.com/apache/polaris/pull/3227 as workaround.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Tests failed with the latest Docker Desktop [polaris]
Posted by "MonkeyCanCode (via GitHub)" <gi...@apache.org>.
MonkeyCanCode closed issue #3183: Tests failed with the latest Docker Desktop
URL: https://github.com/apache/polaris/issues/3183
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org