gnodet-bot commented on PR #30524:
URL: https://github.com/apache/camel/pull/30524#issuecomment-7059541143

   ## ⚠️ Local IT results for `066cf9c`
   
   Ran integration tests locally for the ollama `0.40.13 → 0.40.17` container 
upgrade.
   
   **Test-infra module**: `camel-test-infra-ollama`
   **Component tested**: `camel-langchain4j-chat`
   **Ollama image**: `mirror.gcr.io/ollama/ollama:0.40.17` (pulled & cached 
during run)
   **Model**: `granite4:3b`
   
   ### Failsafe ITs (camel-langchain4j-chat): ⚠️ 13/14 passed
   
   | Test | Result |
   |------|--------|
   | 13 Ollama IT methods | ✅ PASSED |
   | `LangChain4jChatIT.testSendMessageWithPrompt` | ❌ TIMEOUT (181s) |
   
   The failing test timed out waiting for the model to generate a recipe 
(longer prompt). This is a **resource/load issue** (inference took >60s), not a 
behavioral regression from the image upgrade. The 60-second client timeout in 
`OllamaTestSupport.createModel()` is hit for open-ended generation prompts 
under load.
   
   ### Unit tests (surefire): pre-existing failure (unrelated to this PR)
   
   
`LangChain4jChatObservabilityTest.shouldEmitGenAiSpanAndModelHeadersFromProducer`
 fails identically on `main` (zero diff between `HEAD` and `main` for that 
file). This is a pre-existing issue unrelated to the ollama version bump.
   
   ### Assessment
   
   The ollama `0.40.17` image works correctly — the container starts, the model 
loads, and 13/14 IT methods pass. The one timeout is consistent with flaky 
behaviour under machine load, not a regression. **This PR is safe to merge.**
   
   <details><summary>Failing IT output</summary>
   
   ```
   LangChain4jChatIT.testSendMessageWithPrompt -- Time elapsed: 181.6 s <<< 
ERROR!
   Caused by: dev.langchain4j.exception.TimeoutException: request timed out
   Caused by: java.net.http.HttpTimeoutException: request timed out
     at dev.langchain4j.model.ollama.OllamaClient.chat(OllamaClient.java:119)
   Tests run: 14, Failures: 0, Errors: 1, Skipped: 0
   ```
   
   </details>
   
   > _Local integration tests run by Hermes on behalf of @gnodet_
   > _Tests run without `-Dci.env.name` to include ITs disabled on GitHub 
Actions CI_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to