Skip to content

[CI] EntitlementInitializationTests testValidationFailForWrite failing #127078

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

Closed
elasticsearchmachine opened this issue Apr 18, 2025 · 3 comments
Labels
:Core/Infra/Entitlements Entitlements infrastructure low-risk An open issue or test failure that is a low risk to future releases Team:Core/Infra Meta label for core/infra team >test-failure Triaged test failures from CI

Comments

@elasticsearchmachine
Copy link
Collaborator

elasticsearchmachine commented Apr 18, 2025

Build Scans:

Reproduction Line:

./gradlew ":libs:entitlement:test" --tests "org.elasticsearch.entitlement.initialization.EntitlementInitializationTests.testValidationFailForRead" -Dtests.seed=160B3635076E245D -Dtests.locale=ewo-CM -Dtests.timezone=Asia/Magadan -Druntime.java=21 -Dtests.fips.enabled=true

Applicable branches:
main

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

junit.framework.AssertionFailedError: Unexpected exception type, expected IllegalArgumentException but got java.security.AccessControlException: access denied ("java.io.FilePermission" "/opt/buildkite-agent/.java/openjdk21/conf" "read")

Issue Reasons:

  • [main] 5 consecutive failures in test testValidationFailForWrite
  • [main] 2 consecutive failures in step openjdk21_checkpart1_java-fips-matrix
  • [main] 2 consecutive failures in step openjdk23_entitlements_false_checkpart1_java-matrix
  • [main] 2 consecutive failures in step openjdk21_entitlements_true_checkpart1_java-matrix
  • [main] 2 consecutive failures in step openjdk21_entitlements_false_checkpart1_java-matrix
  • [main] 2 consecutive failures in step openjdk23_entitlements_true_checkpart1_java-matrix
  • [main] 10 failures in test testValidationFailForWrite (13.2% fail rate in 76 executions)
  • [main] 2 failures in step openjdk21_checkpart1_java-fips-matrix (100.0% fail rate in 2 executions)
  • [main] 2 failures in step openjdk23_entitlements_false_checkpart1_java-matrix (100.0% fail rate in 2 executions)
  • [main] 2 failures in step openjdk21_entitlements_true_checkpart1_java-matrix (100.0% fail rate in 2 executions)
  • [main] 2 failures in step openjdk21_entitlements_false_checkpart1_java-matrix (100.0% fail rate in 2 executions)
  • [main] 2 failures in step openjdk23_entitlements_true_checkpart1_java-matrix (100.0% fail rate in 2 executions)
  • [main] 2 failures in pipeline elasticsearch-periodic (100.0% fail rate in 2 executions)

Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

@elasticsearchmachine elasticsearchmachine added :Core/Infra/Entitlements Entitlements infrastructure >test-failure Triaged test failures from CI Team:Core/Infra Meta label for core/infra team needs:risk Requires assignment of a risk label (low, medium, blocker) labels Apr 18, 2025
@elasticsearchmachine
Copy link
Collaborator Author

Pinging @elastic/es-core-infra (Team:Core/Infra)

@rjernst
Copy link
Member

rjernst commented Apr 19, 2025

fixed by #127082

@prdoyle prdoyle added the low-risk An open issue or test failure that is a low risk to future releases label Apr 21, 2025
@elasticsearchmachine elasticsearchmachine removed the needs:risk Requires assignment of a risk label (low, medium, blocker) label Apr 21, 2025
@prdoyle
Copy link
Contributor

prdoyle commented May 2, 2025

Works on my machine.

@prdoyle prdoyle closed this as completed May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Entitlements Entitlements infrastructure low-risk An open issue or test failure that is a low risk to future releases Team:Core/Infra Meta label for core/infra team >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

3 participants