Skip to content

[Release 3.0] Bump version 3.0.0.0-beta1 #543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 4, 2025

Conversation

zhichao-aws
Copy link
Member

Description

Bump version 3.0.0.0-beta1 #169

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: zhichao-aws <[email protected]>
@zhichao-aws
Copy link
Member Author

pending upstream plugin:

* What went wrong:
A problem occurred evaluating root project 'opensearch-skills'.
> Could not resolve all files for configuration ':zipArchive'.
   > Could not find org.opensearch.plugin:opensearch-anomaly-detection:3.0.0.0-beta1-SNAPSHOT.
     Searched in the following locations:
       - file:/home/ci-runner/.m2/repository/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/maven-metadata.xml
       - file:/home/ci-runner/.m2/repository/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/opensearch-anomaly-detection-3.0.0.0-beta1-SNAPSHOT.pom
       - https://repo.maven.apache.org/maven2/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/opensearch-anomaly-detection-3.0.0.0-beta1-SNAPSHOT.pom
       - https://plugins.gradle.org/m2/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/maven-metadata.xml
       - https://plugins.gradle.org/m2/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/opensearch-anomaly-detection-3.0.0.0-beta1-SNAPSHOT.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/maven-metadata.xml
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/opensearch-anomaly-detection-3.0.0.0-beta1-SNAPSHOT.pom
     Required by:
         root project :

@peterzhuamazon
Copy link
Member

Hi @zhichao-aws

2025-03-31 07:48:53 INFO     Executing "/tmp/tmpf34s6q_i/opensearch-3.0.0-beta1/bin/opensearch-plugin install --batch file:/tmp/tmpf34s6q_i/opensearch-skills-3.0.0.0-beta1.zip" in /tmp/tmpf34s6q_i/opensearch-3.0.0-beta1

-> Installing file:/tmp/tmpf34s6q_i/opensearch-skills-3.0.0.0-beta1.zip

-> Downloading file:/tmp/tmpf34s6q_i/opensearch-skills-3.0.0.0-beta1.zip

-> Failed installing file:/tmp/tmpf34s6q_i/opensearch-skills-3.0.0.0-beta1.zip

-> Rolling back file:/tmp/tmpf34s6q_i/opensearch-skills-3.0.0.0-beta1.zip

-> Rolled back file:/tmp/tmpf34s6q_i/opensearch-skills-3.0.0.0-beta1.zip

Exception in thread "main" java.lang.IllegalStateException: failed to load plugin opensearch-skills due to jar hell

	at org.opensearch.plugins.PluginsService.checkBundleJarHell(PluginsService.java:733)

	at org.opensearch.plugins.PluginsService.checkJarHellForPlugin(PluginsService.java:373)

	at org.opensearch.tools.cli.plugin.InstallPluginCommand.jarHellCheck(InstallPluginCommand.java:831)

	at org.opensearch.tools.cli.plugin.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:808)

	at org.opensearch.tools.cli.plugin.InstallPluginCommand.installPlugin(InstallPluginCommand.java:843)

	at org.opensearch.tools.cli.plugin.InstallPluginCommand.execute(InstallPluginCommand.java:275)

	at org.opensearch.tools.cli.plugin.InstallPluginCommand.execute(InstallPluginCommand.java:249)

	at org.opensearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:110)

	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)

	at org.opensearch.cli.MultiCommand.execute(MultiCommand.java:104)

	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)

	at org.opensearch.cli.Command.main(Command.java:101)

	at org.opensearch.tools.cli.plugin.PluginCli.main(PluginCli.java:66)

Caused by: java.lang.IllegalStateException: jar hell!

class: com.fasterxml.jackson.annotation.JacksonAnnotation

jar1: /tmp/tmpf34s6q_i/opensearch-3.0.0-beta1/plugins/opensearch-ml/jackson-annotations-2.18.2.jar

jar2: /tmp/tmpf34s6q_i/opensearch-3.0.0-beta1/plugins/.installing-8609007070429932301/opensearch-sql-3.0.0.0-beta1.jar

	at org.opensearch.common.bootstrap.JarHell.checkClass(JarHell.java:316)

	at org.opensearch.common.bootstrap.JarHell.checkJarHell(JarHell.java:215)

	at org.opensearch.plugins.PluginsService.checkBundleJarHell(PluginsService.java:719)

	... 12 more

2025-03-31 07:48:57 INFO     Removing /tmp/tmpf34s6q_i

Thanks.

@peterzhuamazon
Copy link
Member

Hi @zhichao-aws @Hailong-am could you take another look on this?

Thanks!

@peterzhuamazon
Copy link
Member

peterzhuamazon commented Apr 2, 2025

New failure: https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch/detail/distribution-build-opensearch/10970/pipeline/77

2025-04-02 22:23:17 INFO     Installing skills

2025-04-02 22:23:17 INFO     Executing "/tmp/tmpl4uj807z/opensearch-3.0.0-beta1/bin/opensearch-plugin install --batch file:/tmp/tmpl4uj807z/opensearch-skills-3.0.0.0-beta1.zip" in /tmp/tmpl4uj807z/opensearch-3.0.0-beta1

-> Installing file:/tmp/tmpl4uj807z/opensearch-skills-3.0.0.0-beta1.zip

-> Downloading file:/tmp/tmpl4uj807z/opensearch-skills-3.0.0.0-beta1.zip

-> Failed installing file:/tmp/tmpl4uj807z/opensearch-skills-3.0.0.0-beta1.zip

-> Rolling back file:/tmp/tmpl4uj807z/opensearch-skills-3.0.0.0-beta1.zip

-> Rolled back file:/tmp/tmpl4uj807z/opensearch-skills-3.0.0.0-beta1.zip

Exception in thread "main" java.lang.IllegalStateException: failed to load plugin opensearch-skills due to jar hell

	at org.opensearch.plugins.PluginsService.checkBundleJarHell(PluginsService.java:733)

	at org.opensearch.plugins.PluginsService.checkJarHellForPlugin(PluginsService.java:373)

	at org.opensearch.tools.cli.plugin.InstallPluginCommand.jarHellCheck(InstallPluginCommand.java:831)

	at org.opensearch.tools.cli.plugin.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:808)

	at org.opensearch.tools.cli.plugin.InstallPluginCommand.installPlugin(InstallPluginCommand.java:843)

	at org.opensearch.tools.cli.plugin.InstallPluginCommand.execute(InstallPluginCommand.java:275)

	at org.opensearch.tools.cli.plugin.InstallPluginCommand.execute(InstallPluginCommand.java:249)

	at org.opensearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:110)

	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)

	at org.opensearch.cli.MultiCommand.execute(MultiCommand.java:104)

	at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)

	at org.opensearch.cli.Command.main(Command.java:101)

	at org.opensearch.tools.cli.plugin.PluginCli.main(PluginCli.java:66)

Caused by: java.lang.IllegalStateException: jar hell!

class: com.fasterxml.jackson.annotation.JacksonAnnotation

jar1: /tmp/tmpl4uj807z/opensearch-3.0.0-beta1/plugins/opensearch-ml/jackson-annotations-2.18.2.jar

jar2: /tmp/tmpl4uj807z/opensearch-3.0.0-beta1/plugins/.installing-16292371208681582862/opensearch-sql-3.0.0.0-beta1.jar

	at org.opensearch.common.bootstrap.JarHell.checkClass(JarHell.java:316)

	at org.opensearch.common.bootstrap.JarHell.checkJarHell(JarHell.java:215)

	at org.opensearch.plugins.PluginsService.checkBundleJarHell(PluginsService.java:719)

	... 12 more

@Hailong-am Hailong-am mentioned this pull request Apr 3, 2025
5 tasks
@peterzhuamazon
Copy link
Member

Seems pending AD:



* What went wrong:
A problem occurred evaluating root project 'opensearch-skills'.
> Could not resolve all files for configuration ':zipArchive'.
   > Could not find org.opensearch.plugin:opensearch-anomaly-detection:3.0.0.0-beta1-SNAPSHOT.
     Searched in the following locations:
       - file:/home/ci-runner/.m2/repository/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/maven-metadata.xml
       - file:/home/ci-runner/.m2/repository/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/opensearch-anomaly-detection-3.0.0.0-beta1-SNAPSHOT.pom
       - https://repo.maven.apache.org/maven2/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/opensearch-anomaly-detection-3.0.0.0-beta1-SNAPSHOT.pom
       - https://plugins.gradle.org/m2/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/maven-metadata.xml
       - https://plugins.gradle.org/m2/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/opensearch-anomaly-detection-3.0.0.0-beta1-SNAPSHOT.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/maven-metadata.xml
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/plugin/opensearch-anomaly-detection/3.0.0.0-beta1-SNAPSHOT/opensearch-anomaly-detection-3.0.0.0-beta1-SNAPSHOT.pom
     Required by:
         root project :

@peterzhuamazon
Copy link
Member

AD merged, run test again now.

@peterzhuamazon
Copy link
Member

@zhichao-aws @Hailong-am

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileTestJava'.
> Could not resolve all dependencies for configuration ':testCompileClasspath'.
   > Conflict found for the following module:
       - net.bytebuddy:byte-buddy between versions 1.17.5 and 1.15.10

Signed-off-by: zhichao-aws <[email protected]>
Copy link

codecov bot commented Apr 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.34%. Comparing base (2b76e3c) to head (7e4a7dd).
Report is 57 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #543      +/-   ##
============================================
+ Coverage     81.78%   82.34%   +0.55%     
- Complexity      193      356     +163     
============================================
  Files            11       17       +6     
  Lines           961     1688     +727     
  Branches        137      241     +104     
============================================
+ Hits            786     1390     +604     
- Misses          121      203      +82     
- Partials         54       95      +41     

☔ 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.

@zhichao-aws zhichao-aws merged commit f3714ee into opensearch-project:main Apr 4, 2025
14 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