You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "gmunozfe (via GitHub)" <gi...@apache.org> on 2026/06/22 10:40:08 UTC

[I] Use mirrored PostgreSQL image in PostgresTestResource to avoid Docker Hub pull rate limits [incubator-kie-issues]

gmunozfe opened a new issue, #2351:
URL: https://github.com/apache/incubator-kie-issues/issues/2351

   ### Describe the bug
   
   The Quarkus integration test using PostgresTestResource can fail in CI when Testcontainers tries to pull the PostgreSQL image from Docker Hub.
   
   The container cannot be fetched because Docker Hub rejects the unauthenticated pull with a rate-limit error:
   
       `toomanyrequests: You have reached your unauthenticated pull rate limit`
   
   This makes the test flaky/unreliable in CI environments where multiple jobs may pull public images without authentication.
   
   We should use a mirrored image for CI, while keeping the image configurable so developers can still override it locally if needed.
   
   ### Expected behavior
   
   Fetch the container image without issues
   
   ### Actual behavior
   
   2026-06-21 19:43:21,699 INFO  [tc.postgres:16-alpine] (pool-3-thread-1) Pulling docker image: postgres:16-alpine. Please be patient; this may take some time but only needs to be done once.
   2026-06-21 19:43:23,116 ERROR [com.git.doc.api.asy.ResultCallbackTemplate] (docker-java-stream--212325383) Error during callback: com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"message":"toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit"}
   
   ### How to Reproduce?
   
   Run native opentelemetry tests on CI
   
   ### Output of `uname -a` or `ver`
   
   _No response_
   
   ### Output of `java -version`
   
   _No response_
   
   ### GraalVM version (if different from Java)
   
   _No response_
   
   ### Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
   
   _No response_
   
   ### Build tool (ie. output of `mvnw --version` or `gradlew --version`)
   
   _No response_
   
   ### Additional 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: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org