Skip to content

CAMEL-24786 - stabilize Milvus IT test by awaiting proxy marked as started in container log - #26042

Merged
apupier merged 1 commit into
apache:mainfrom
apupier:CAMEL-24786-flakyMilvusIT
Sep 2, 2026
Merged

CAMEL-24786 - stabilize Milvus IT test by awaiting proxy marked as started in container log#26042
apupier merged 1 commit into
apache:mainfrom
apupier:CAMEL-24786-flakyMilvusIT

Conversation

@apupier

@apupier apupier commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

it was causing this sporadic error:

Failed to initialize connection. Error: UNKNOWN: service unavailable:
internal: Milvus Proxy is not ready yet. please wait

this error is occurring very often when using the 2.6.5 image version of Milvus. For ppc64le, this is the version used (there isn't a more recent yet)

Co-authored-by: IBM Bob 2.0.3

Description

Target

  • I checked that the commit is targeting the correct branch (Camel 4 uses the main branch)

Tracking

  • If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.
  • I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.

AI-assisted contributions

  • If this PR includes AI-generated code, commits have proper co-authorship attribution (e.g., Co-authored-by trailers) and the PR description identifies the AI tool used.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@apupier apupier changed the title CAMEL-23794 - stabilize Milvus IT test by awaiting proxy marked as CAMEL-23794 - stabilize Milvus IT test by awaiting proxy marked as started in container log Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • test-infra/camel-test-infra-milvus

🔬 Scalpel shadow comparison — Scalpel: 13 tested, 27 compile-only — current: 13 all tested

Maveniverse Scalpel detected 40 affected modules (current approach: 13).

⚠️ Modules only in Scalpel (27)
  • apache-camel
  • camel-allcomponents
  • camel-catalog
  • camel-catalog-console
  • camel-catalog-maven
  • camel-catalog-suggest
  • camel-componentdsl
  • camel-endpointdsl
  • camel-endpointdsl-support
  • camel-itest
  • camel-jbang-core
  • camel-jbang-it
  • camel-jbang-main
  • camel-jbang-plugin-edit
  • camel-jbang-plugin-generate
  • camel-jbang-plugin-kubernetes
  • camel-jbang-plugin-test
  • camel-kamelet-main
  • camel-launcher
  • camel-report-maven-plugin
  • camel-route-parser
  • camel-yaml-dsl
  • camel-yaml-dsl-deserializers
  • camel-yaml-dsl-maven-plugin
  • coverage
  • docs
  • dummy-component

Skip-tests mode would test 13 modules (1 direct + 12 downstream), skip tests for 27 (generated code, meta-modules)

Modules Scalpel would test (13)
  • camel-jbang-mcp
  • camel-jbang-plugin-mcp
  • camel-jbang-plugin-route-parser
  • camel-jbang-plugin-tui
  • camel-jbang-plugin-validate
  • camel-langchain4j-embeddings
  • camel-langchain4j-embeddingstore
  • camel-launcher-container
  • camel-milvus
  • camel-test-infra-all
  • camel-test-infra-milvus
  • camel-yaml-dsl-validator
  • camel-yaml-dsl-validator-maven-plugin
Modules with tests skipped (27)
  • apache-camel
  • camel-allcomponents
  • camel-catalog
  • camel-catalog-console
  • camel-catalog-maven
  • camel-catalog-suggest
  • camel-componentdsl
  • camel-endpointdsl
  • camel-endpointdsl-support
  • camel-itest
  • camel-jbang-core
  • camel-jbang-it
  • camel-jbang-main
  • camel-jbang-plugin-edit
  • camel-jbang-plugin-generate
  • camel-jbang-plugin-kubernetes
  • camel-jbang-plugin-test
  • camel-kamelet-main
  • camel-launcher
  • camel-report-maven-plugin
  • camel-route-parser
  • camel-yaml-dsl
  • camel-yaml-dsl-deserializers
  • camel-yaml-dsl-maven-plugin
  • coverage
  • docs
  • dummy-component

ℹ️ Shadow mode — Scalpel observes but does not affect test execution. Learn more

All tested modules (40 modules)
  • Camel :: AI :: LangChain4j :: Embedding
  • Camel :: AI :: LangChain4j :: EmbeddingStore
  • Camel :: AI :: Milvus
  • Camel :: All Components Sync point
  • Camel :: Assembly
  • Camel :: Catalog :: Camel Catalog
  • Camel :: Catalog :: Camel Report Maven Plugin
  • Camel :: Catalog :: Camel Route Parser
  • Camel :: Catalog :: Console
  • Camel :: Catalog :: Dummy Component
  • Camel :: Catalog :: Maven
  • Camel :: Catalog :: Suggest
  • Camel :: Component DSL
  • Camel :: Coverage
  • Camel :: Docs
  • Camel :: Endpoint DSL
  • Camel :: Endpoint DSL :: Support
  • Camel :: Integration Tests
  • Camel :: JBang :: Core
  • Camel :: JBang :: Integration tests
  • Camel :: JBang :: MCP
  • Camel :: JBang :: Main
  • Camel :: JBang :: Plugin :: Edit
  • Camel :: JBang :: Plugin :: Generate
  • Camel :: JBang :: Plugin :: Kubernetes
  • Camel :: JBang :: Plugin :: MCP
  • Camel :: JBang :: Plugin :: Route Parser
  • Camel :: JBang :: Plugin :: TUI
  • Camel :: JBang :: Plugin :: Testing
  • Camel :: JBang :: Plugin :: Validate
  • Camel :: Kamelet Main
  • Camel :: Launcher
  • Camel :: Launcher :: Container
  • Camel :: Test Infra :: All test services
  • Camel :: Test Infra :: Milvus
  • Camel :: YAML DSL
  • Camel :: YAML DSL :: Deserializers
  • Camel :: YAML DSL :: Maven Plugins
  • Camel :: YAML DSL :: Validator
  • Camel :: YAML DSL :: Validator Maven Plugin

⚙️ View full build and test results

@apupier
apupier marked this pull request as ready for review September 2, 2026 13:41

@gnodet gnodet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good approach — waiting for the proxy-ready log message is the right fix for this race condition, and it follows the established pattern used by several other Camel test-infra services (NATS, Infinispan, Consul, etc.).

However, there's a timeout issue that would make this fix counterproductive on the exact platform it targets (ppc64le with slower Milvus 2.6.5).

Also, minor note: the PR title references CAMEL-23794 but the branch name is CAMEL-24786-flakyMilvusIT — one of these JIRA IDs appears incorrect.

This review was generated by an AI agent and may contain inaccuracies. Please verify all suggestions before applying.

Claude Code on behalf of Guillaume Nodet

@apupier
apupier force-pushed the CAMEL-24786-flakyMilvusIT branch from 565c89d to f2760a3 Compare September 2, 2026 14:20
started in container log

it was causing this sporadic error:
```
Failed to initialize connection. Error: UNKNOWN: service unavailable:
internal: Milvus Proxy is not ready yet. please wait
```

this error is occurring very often when using the 2.6.5 image version of
Milvus. For ppc64le, this is the version used (there isn't a more recent
yet)

Co-authored-by: IBM Bob 2.0.3
Signed-off-by: Aurélien Pupier <apupier@ibm.com>
@apupier
apupier force-pushed the CAMEL-24786-flakyMilvusIT branch from f2760a3 to 7d818e3 Compare September 2, 2026 14:26
@apupier apupier changed the title CAMEL-23794 - stabilize Milvus IT test by awaiting proxy marked as started in container log CAMEL-24786 - stabilize Milvus IT test by awaiting proxy marked as started in container log Sep 2, 2026
@apupier
apupier requested a review from gnodet September 2, 2026 14:38
@apupier
apupier merged commit bfee8e5 into apache:main Sep 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants