Service does not start on Windows with OpenJDK (update to procrun 1.5.1)#20615
Service does not start on Windows with OpenJDK (update to procrun 1.5.1)#20615reta merged 1 commit intoopensearch-project:mainfrom
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughA changelog entry was added to document a bug fix for OpenSearch 3.x where the service failed to start on Windows with Adoptium OpenJDK due to the -javaagent option in jvm.options. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
Hi @reta not getting why this would fix the issue? Thanks. |
|
❗ AI-powered Code-Diff-Analyzer found issues on commit a4ee1eb.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
|
Thanks @cwperks @peterzhuamazon
It took me a while to figure out what is going on, the service and manager are coming from https://commons.apache.org/proper/commons-daemon/procrun.html project. The latest distribution is 1.5.1, the binaries are coming from https://archive.apache.org/dist/commons/daemon/binaries/windows/
So this is a bit more difficult, we used to have full suite of packaging tests (see please #538) but we don't run them anymore. Essentially those will spin up a full VM (using
|
|
❗ AI-powered Code-Diff-Analyzer found issues on commit a4ee1eb.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
@peterzhuamazon Those are new runners, the ones we use are 5+ years old |
Signed-off-by: Andriy Redko <drreta@gmail.com>
|
❌ Gradle check result for 91e38dd: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 91e38dd: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #20615 +/- ##
============================================
- Coverage 73.32% 73.19% -0.13%
+ Complexity 72200 71922 -278
============================================
Files 5798 5781 -17
Lines 329835 329200 -635
Branches 47545 47491 -54
============================================
- Hits 241844 240967 -877
- Misses 68639 68963 +324
+ Partials 19352 19270 -82 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
….1) (opensearch-project#20615) Signed-off-by: Andriy Redko <drreta@gmail.com>
….1) (opensearch-project#20615) Signed-off-by: Andriy Redko <drreta@gmail.com>
Description
Service does not start on Windows with OpenJDK (update to procrun 1.5.1).
It took me a while to figure out what is going on, the service and manager are coming from https://commons.apache.org/proper/commons-daemon/procrun.html project. The latest distribution is 1.5.1, the binaries are coming from https://archive.apache.org/dist/commons/daemon/binaries/windows/
Tested on local Windows box, the service is fully operational.
Related Issues
Closes #19141
Check List
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.