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

Java agent based File interceptor #17633

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kumargu
Copy link
Contributor

@kumargu kumargu commented Mar 19, 2025

Java agent based File interceptor

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.

…ing, must be low overhead)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Copy link
Contributor

❌ Gradle check result for a8a8100: 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?

@kumargu kumargu force-pushed the file_interceptor branch 2 times, most recently from 802b317 to 6f117a2 Compare March 19, 2025 11:35
Copy link
Contributor

❌ Gradle check result for 6f117a2: 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?

@kumargu
Copy link
Contributor Author

kumargu commented Mar 19, 2025

cc @reta

Copy link
Contributor

❌ Gradle check result for 7cabd8c: 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?

Copy link
Contributor

❕ Gradle check result for cb5392e: UNSTABLE

  • TEST FAILURES:
      1 org.opensearch.action.admin.cluster.node.tasks.ResourceAwareTasksTests.testTaskResourceTrackingDuringTaskCancellation

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

Copy link

codecov bot commented Mar 24, 2025

Codecov Report

Attention: Patch coverage is 20.38462% with 1242 lines in your changes missing coverage. Please review.

Project coverage is 72.10%. Comparing base (e306d51) to head (cb5392e).
Report is 35 commits behind head on main.

Files with missing lines Patch % Lines
...va/org/opensearch/secure_sm/policy/PolicyFile.java 24.82% 405 Missing and 28 partials ⚠️
.../org/opensearch/secure_sm/policy/PolicyParser.java 21.00% 350 Missing and 26 partials ⚠️
...ava/org/opensearch/secure_sm/policy/ParseUtil.java 7.14% 189 Missing and 6 partials ⚠️
...java/org/opensearch/secure_sm/policy/Password.java 0.00% 60 Missing ⚠️
.../src/main/java/org/opensearch/javaagent/Agent.java 0.00% 43 Missing ⚠️
...va/org/opensearch/secure_sm/policy/PolicyUtil.java 15.78% 31 Missing and 1 partial ⚠️
...java/org/opensearch/javaagent/FileInterceptor.java 0.00% 31 Missing ⚠️
...opensearch/javaagent/SocketChannelInterceptor.java 0.00% 22 Missing ⚠️
...rg/opensearch/javaagent/bootstrap/AgentPolicy.java 0.00% 19 Missing ⚠️
.../opensearch/secure_sm/policy/PropertyExpander.java 60.86% 12 Missing and 6 partials ⚠️
... and 5 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #17633      +/-   ##
============================================
- Coverage     72.27%   72.10%   -0.18%     
- Complexity    65611    65749     +138     
============================================
  Files          5311     5323      +12     
  Lines        304942   306467    +1525     
  Branches      44225    44591     +366     
============================================
+ Hits         220407   220983     +576     
- Misses        66448    67287     +839     
- Partials      18087    18197     +110     

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

Copy link
Contributor

❌ Gradle check result for 860367d: 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?

Copy link
Contributor

❌ Gradle check result for 89f89ff: ABORTED

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?

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