Skip to content

fix failure UTs due to OpenSearch core jackson version upgrade#4787

Closed
zane-neo wants to merge 1 commit intoopensearch-project:mainfrom
zane-neo:fix-test-failures-due-to-core-change
Closed

fix failure UTs due to OpenSearch core jackson version upgrade#4787
zane-neo wants to merge 1 commit intoopensearch-project:mainfrom
zane-neo:fix-test-failures-due-to-core-change

Conversation

@zane-neo
Copy link
Copy Markdown
Collaborator

@zane-neo zane-neo commented Apr 9, 2026

Description

Fix failure UTs due to OpenSearch core jackson version upgrade, more details in this PR

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: zane-neo <zaniu@amazon.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

PR Code Analyzer ❗

AI-powered 'Code-Diff-Analyzer' found issues on commit f489f4f.

PathLineSeverityDescription
common/src/main/java/org/opensearch/ml/common/MLCommonsClassLoader.java29highDependency/import source change: replaces 'com.fasterxml.jackson.core.JsonParseException' with 'org.opensearch.tools.jackson.core.JsonParseException'. This redirects to a non-standard package that cannot be verified as a legitimate repackaging of the Jackson library. Must be confirmed that 'org.opensearch.tools.jackson' is a trusted, official OpenSearch-maintained artifact and not a namespace-hijacked or typosquatted dependency.

The table above displays the top 10 most important findings.

Total: 1 | Critical: 0 | High: 1 | Medium: 0 | Low: 0


Pull Requests Author(s): Please update your Pull Request according to the report above.

Repository Maintainer(s): You can bypass diff analyzer by adding label skip-diff-analyzer after reviewing the changes carefully, then re-run failed actions. To re-enable the analyzer, remove the label, then re-run all actions.


⚠️ Note: The Code-Diff-Analyzer helps protect against potentially harmful code patterns. Please ensure you have thoroughly reviewed the changes beforehand.

Thanks.

@zane-neo zane-neo had a problem deploying to ml-commons-cicd-env April 9, 2026 08:30 — with GitHub Actions Failure
@zane-neo zane-neo had a problem deploying to ml-commons-cicd-env April 9, 2026 08:30 — with GitHub Actions Error
@zane-neo zane-neo had a problem deploying to ml-commons-cicd-env April 9, 2026 08:30 — with GitHub Actions Error
@zane-neo zane-neo had a problem deploying to ml-commons-cicd-env April 9, 2026 08:30 — with GitHub Actions Failure
@dhrubo-os
Copy link
Copy Markdown
Collaborator

We already have a PR here: https://github.com/opensearch-project/ml-commons/pull/4784/changes

@zane-neo
Copy link
Copy Markdown
Collaborator Author

@zane-neo zane-neo closed this Apr 10, 2026
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.

2 participants