Closed p0ll3n closed 1 month ago
it seems that building with recent version of buildah may solve the pb https://github.com/containers/storage/pull/1847
Hey @p0ll3n,
Thanks a lot for using these images.
Unfortunately, there is little that I can do here. These images are built on a Rocky Linux 9 environment and will soon be refreshed.
But given that there is nothing here that is done wrongly in the build of the image itself, but rather when pulling and extracting the image, there is not much else I can do here.
Our infrustructure updated all docker daemons on GitLab runners to 26.0.x, so we no more can run Testcontainers with gvenzl/oracle-xe
.
Caused by: org.testcontainers.containers.ContainerFetchException: Failed to get Docker client for gvenzl/oracle-xe:21-slim
at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:124)
at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:33)
at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:20)
at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:41)
at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1362)
... 6 common frames omitted
Caused by: com.github.dockerjava.api.exception.DockerClientException: Could not pull image: failed to register layer: lsetxattr user.overlay.origin /opt: operation not supported
at com.github.dockerjava.api.command.PullImageResultCallback.checkDockerClientPullSuccessful(PullImageResultCallback.java:97)
at com.github.dockerjava.api.command.PullImageResultCallback.throwFirstError(PullImageResultCallback.java:112)
at com.github.dockerjava.api.async.ResultCallbackTemplate.awaitCompletion(ResultCallbackTemplate.java:93)
at org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback.awaitCompletion(TimeLimitedLoggedPullImageResultCallback.java:58)
at org.testcontainers.images.RemoteDockerImage.pullImage(RemoteDockerImage.java:163)
at org.testcontainers.images.RemoteDockerImage.lambda$tryImagePullCommand$1(RemoteDockerImage.java:138)
at org.testcontainers.shaded.org.awaitility.core.CallableCondition$ConditionEvaluationWrapper.eval(CallableCondition.java:99)
at org.testcontainers.shaded.org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
at org.testcontainers.shaded.org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at org.testcontainers.shaded.org.awaitility.core.SameThreadExecutorService.execute(SameThreadExecutorService.java:79)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
at org.testcontainers.shaded.org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:101)
at org.testcontainers.shaded.org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
at org.testcontainers.shaded.org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
at org.testcontainers.shaded.org.awaitility.core.ConditionFactory.until(ConditionFactory.java:954)
at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:105)
... 10 common frames omitted
It seems like that the only way for now is disable running tests in CI/CD 😭
Hi @p0ll3n and @SimSonic,
All images have been refreshed with a build from a newer buildah version (buildah version 1.35.2 (image-spec 1.1.0, runtime-spec 1.1.0)
) that supposedly should have the fix as outlined in https://github.com/containers/storage/pull/1847
Please let me know whether you still see this issue.
@gvenzl thanks a lot, now the problems are gone )
@gvenzl thanks a lot, seems ok to me. I believe issue can be closed
So glad to hear that! Thanks a lot, both!
Hello. I am experiencing the following issue
here are my docker info
I have the feeling that it could be linked to this known limitation : https://docs.docker.com/engine/release-notes/25.0/#known-limitations