chore(camel-test-infra-milvus): upgrade milvus.container to v2.6.11#21893
chore(camel-test-infra-milvus): upgrade milvus.container to v2.6.11#21893
Conversation
Update milvus.container from v2.5.11 to v2.6.11
|
/component-test camel-ai |
|
/component-test camel-ai Result ✅ The tests passed successfully |
|
🤖 The Apache Camel test robot will run the tests for you 👍 |
|
/component-test camel-ai |
apupier
left a comment
There was a problem hiding this comment.
error locally:
[�[1;31mERROR�[m] �[1;31mTests �[0;1mrun: �[0;1m1�[m, Failures: 0, �[1;31mErrors: �[0;1;31m1�[m, Skipped: 0, Time elapsed: 294.4 s�[1;31m <<< FAILURE!�[m -- in org.apache.camel.component.milvus.�[1mMilvusCreateCollectionTest�[m
[�[1;31mERROR�[m] org.apache.camel.component.milvus.MilvusCreateCollectionTest -- Time elapsed: 294.4 s <<< ERROR!
org.testcontainers.containers.ContainerLaunchException: Container startup failed for image mirror.gcr.io/milvusdb/milvus:v2.6.11
at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at org.apache.camel.test.infra.milvus.services.MilvusLocalContainerInfraService.initialize(MilvusLocalContainerInfraService.java:84)
at org.apache.camel.test.infra.common.services.SingletonService.doInitializeService(SingletonService.java:55)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at org.apache.camel.test.infra.common.services.SingletonService.addToStore(SingletonService.java:48)
at org.apache.camel.test.infra.common.services.SingletonService.beforeAll(SingletonService.java:61)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Suppressed: java.lang.NullPointerException: Cannot invoke "org.apache.camel.test.junit6.CamelContextManager.stop()" because "this.contextManager" is null
at org.apache.camel.test.junit6.ContextManagerExtension.afterAll(ContextManagerExtension.java:77)
... 5 more
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:331)
... 11 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 12 more
Caused by: java.lang.IllegalStateException: Wait strategy failed. Container exited with code 134
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:520)
... 14 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for URL to be accessible (http://localhost:40247/healthz should return HTTP 200)
at org.testcontainers.containers.wait.strategy.HttpWaitStrategy.waitUntilReady(HttpWaitStrategy.java:320)
at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 14 more
Caused by: org.rnorth.ducttape.TimeoutException: Timeout waiting for result with exception
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:54)
at org.testcontainers.containers.wait.strategy.HttpWaitStrategy.waitUntilReady(HttpWaitStrategy.java:252)
... 17 more
Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused
at org.testcontainers.containers.wait.strategy.HttpWaitStrategy.lambda$waitUntilReady$6(HttpWaitStrategy.java:312)
at org.rnorth.ducttape.ratelimits.RateLimiter.doWhenReady(RateLimiter.java:27)
at org.testcontainers.containers.wait.strategy.HttpWaitStrategy.lambda$waitUntilReady$7(HttpWaitStrategy.java:257)
at org.rnorth.ducttape.unreliables.Unreliables.lambda$retryUntilSuccess$0(Unreliables.java:43)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:589)
at java.base/sun.nio.ch.Net.connect(Net.java:578)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:583)
at java.base/java.net.Socket.connect(Socket.java:751)
at java.base/java.net.Socket.connect(Socket.java:686)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:183)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:531)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:636)
at java.base/sun.net.www.http.HttpClient.<init>(HttpClient.java:282)
at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:386)
at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:408)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1324)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1257)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1143)
at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1072)
at org.testcontainers.containers.wait.strategy.HttpWaitStrategy.lambda$waitUntilReady$6(HttpWaitStrategy.java:274)
... 7 more
|
/component-test camel-ai Result ❌ The tests failed please check the logs |
|
/update-branch |
…vus-container-v2.6.11-18
|
✅ Branch updated successfully by merging |
|
/component-test camel-ai |
|
❌ |
|
/update-branch |
…vus-container-v2.6.11-18
|
✅ Branch updated successfully by merging |
|
/component-test camel-ai |
|
❌
|
|
Local test results for Milvus v2.6.11: The Milvus v2.6.11 container fails to start — both on GitHub Actions and locally. The container crashes with exit code 134 (SIGABRT) during startup. This is a v2.5 → v2.6 major version jump that likely introduces breaking changes or new infrastructure requirements. This PR is not safe to merge in its current state. The container version upgrade needs investigation into what changed in Milvus v2.6 (e.g., new dependencies like etcd/MinIO configuration, changed startup requirements, etc.). |
Milvus v2.6+ requires DEPLOY_MODE=STANDALONE environment variable when running in standalone mode with embedded etcd. Without it, the container panics with "embedded etcd can not be used under distributed mode". This mirrors the fix already applied in testcontainers-dotnet (PR #1569). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
|
I've verified the Milvus v2.6.11 upgrade locally with Docker — all 7 integration tests pass. Issue: Milvus v2.6+ requires the Fix: The additional commit ( @apupier could you double-check locally if you have a chance? The CI build passes (JDK 21 + JDK 25). |
gnodet
left a comment
There was a problem hiding this comment.
Verified locally — all 7 MilvusComponentIT tests pass with Milvus v2.6.11. The DEPLOY_MODE=STANDALONE env var addition is correct for the new container version.
apupier
left a comment
There was a problem hiding this comment.
tested locally and works fine
This PR updates the
milvus.containercontainer image to versionv2.6.11.Update Details
milvus.containermirror.gcr.io/milvusdb/milvus/home/runner/work/camel/camel/test-infra/camel-test-infra-milvus/src/main/resources/org/apache/camel/test/infra/milvus/services/container.propertiesv2.5.11v2.6.11Verification
Please verify:
Run the following to verify:
This PR was automatically created by the Container Version Upgrade workflow.