Skip to content
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

Fixing integ tests due to missing opensearch-job-scheduler plugin #1031

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

siddharthabingi
Copy link
Contributor

Description

Fixing integ tests due to missing opensearch-job-scheduler plugin

Exception in thread "main" java.lang.IllegalArgumentException: Missing plugin [opensearch-job-scheduler], dependency of [opensearch-ml]

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.

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.53%. Comparing base (9108b2e) to head (2cf9b10).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1031   +/-   ##
=========================================
  Coverage     75.53%   75.53%           
  Complexity     1050     1050           
=========================================
  Files           101      101           
  Lines          5215     5215           
  Branches        498      498           
=========================================
  Hits           3939     3939           
  Misses         1038     1038           
  Partials        238      238           

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

@owaiskazi19
Copy link
Member


> Task :ffBwcCluster#fullRestartClusterTask FAILED
Exec output and error:
| Output for ./bin/opensearch-plugin:-> Installing file:/home/runner/.gradle/caches/modules-2/files-2.1/org.opensearch.plugin/opensearch-ml-plugin/3.0.0.0-SNAPSHOT/c270b5abea9e3377e881d725c38dabc413df7d82/opensearch-ml-plugin-3.0.0.0-SNAPSHOT.zip
| -> Downloading file:/home/runner/.gradle/caches/modules-2/files-2.1/org.opensearch.plugin/opensearch-ml-plugin/3.0.0.0-SNAPSHOT/c270b5abea9e3377e881d725c38dabc413df7d82/opensearch-ml-plugin-3.0.0.0-SNAPSHOT.zip
| -> Failed installing file:/home/runner/.gradle/caches/modules-2/files-2.1/org.opensearch.plugin/opensearch-ml-plugin/3.0.0.0-SNAPSHOT/c270b5abea9e3377e881d725c38dabc413df7d82/opensearch-ml-plugin-3.0.0.0-SNAPSHOT.zip
| -> Rolling back file:/home/runner/.gradle/caches/modules-2/files-2.1/org.opensearch.plugin/opensearch-ml-plugin/3.0.0.0-SNAPSHOT/c270b5abea9e3377e881d725c38dabc413df7d82/opensearch-ml-plugin-3.0.0.0-SNAPSHOT.zip
| -> Rolled back file:/home/runner/.gradle/caches/modules-2/files-2.1/org.opensearch.plugin/opensearch-ml-plugin/3.0.0.0-SNAPSHOT/c270b5abea9e3377e881d725c38dabc413df7d82/opensearch-ml-plugin-3.0.0.0-SNAPSHOT.zip
| Exception in thread "main" java.lang.IllegalArgumentException: Missing plugin [opensearch-job-scheduler], dependency of [opensearch-ml]
| 	at org.opensearch.plugins.PluginsService.addSortedBundle(PluginsService.java:532)
| 	at org.opensearch.plugins.PluginsService.sortBundles(PluginsService.java:495)
| 	at org.opensearch.plugins.InstallPluginCommand.jarHellCheck(InstallPluginCommand.java:833)
| 	at org.opensearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:807)
| 	at org.opensearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:852)
| 	at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:274)
| 	at org.opensearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:248)
| 	at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:104)
| 	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.plugins.PluginCli.main(PluginCli.java:66)

@owaiskazi19 owaiskazi19 merged commit addf027 into opensearch-project:main Jan 29, 2025
23 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 29, 2025
)

* Fixing integ tests due to missing opensearch-job-scheduler plugin

Signed-off-by: Siddhartha Bingi <[email protected]>

* Fixing bwc test due to missing opensearch-job-scheduler plugin

Signed-off-by: Siddhartha Bingi <[email protected]>

---------

Signed-off-by: Siddhartha Bingi <[email protected]>
Co-authored-by: Siddhartha Bingi <[email protected]>
(cherry picked from commit addf027)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
owaiskazi19 pushed a commit that referenced this pull request Jan 29, 2025
…uler plugin (#1032)

Fixing integ tests due to missing opensearch-job-scheduler plugin (#1031)

* Fixing integ tests due to missing opensearch-job-scheduler plugin



* Fixing bwc test due to missing opensearch-job-scheduler plugin



---------



(cherry picked from commit addf027)

Signed-off-by: Siddhartha Bingi <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Siddhartha Bingi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport PRs to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants