Skip to content

Conversation

@nathaliellenaa
Copy link
Contributor

Description

Manual backport of this PR #4360 to 3.3

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>
Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>
Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>
@nathaliellenaa
Copy link
Contributor Author

Failing tests due to throttling

REPRODUCE WITH: gradlew ':opensearch-ml-plugin:integTest' --tests 'org.opensearch.ml.rest.RestMLRAGSearchProcessorIT.testBM25WithBedrockConverseUsingLlmMessages' -Dtests.seed=7FCE922E2078C4E7 -Dtests.security.manager=false -Dtests.locale=ksh-Latn-DE -Dtests.timezone=Europe/Paris -Druntime.java=21
    REPRODUCE WITH: gradlew ':opensearch-ml-plugin:integTest' --tests 'org.opensearch.ml.rest.RestMLRAGSearchProcessorIT.testBM25WithBedrockConverseUsingLlmMessages' -Dtests.seed=7FCE922E2078C4E7 -Dtests.security.manager=false -Dtests.locale=ksh-Latn-DE -Dtests.timezone=Europe/Paris -Druntime.java=21

RestMLRAGSearchProcessorIT > testBM25WithBedrockConverseUsingLlmMessages FAILED
    org.opensearch.client.ResponseException: method [POST], host [http://[::1]:59375], URI [/test/_search?size=5&search_pipeline=pipeline_test], status line [HTTP/1.1 429 Too Many Requests]
    {"error":{"root_cause":[{"type":"remote_connector_throttling_exception","reason":"Error from remote service: The request was denied due to remote server throttling. To change the retry policy and behavior, please update the connector client_config."}],"type":"remote_connector_throttling_exception","reason":"Error from remote service: The request was denied due to remote server throttling. To change the retry policy and behavior, please update the connector client_config."},"status":429}

@nathaliellenaa nathaliellenaa had a problem deploying to ml-commons-cicd-env-require-approval October 29, 2025 06:10 — with GitHub Actions Failure
@nathaliellenaa nathaliellenaa temporarily deployed to ml-commons-cicd-env-require-approval October 29, 2025 06:10 — with GitHub Actions Inactive
@nathaliellenaa nathaliellenaa temporarily deployed to ml-commons-cicd-env-require-approval October 29, 2025 06:10 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Oct 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.10%. Comparing base (0bfaf7b) to head (c21d5d0).
⚠️ Report is 5 commits behind head on 3.3.

Additional details and impacted files
@@             Coverage Diff              @@
##                3.3    #4368      +/-   ##
============================================
+ Coverage     80.08%   80.10%   +0.01%     
- Complexity    10191    10204      +13     
============================================
  Files           855      858       +3     
  Lines         44373    44458      +85     
  Branches       5135     5139       +4     
============================================
+ Hits          35536    35611      +75     
- Misses         6671     6681      +10     
  Partials       2166     2166              
Flag Coverage Δ
ml-commons 80.10% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ylwu-amzn ylwu-amzn merged commit 2478e9f into opensearch-project:3.3 Oct 29, 2025
15 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants