Skip to content

[CI] EntitlementInitializationTests testValidationFailForWrite failing #127078

@elasticsearchmachine

Description

@elasticsearchmachine

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Core/Infra/EntitlementsEntitlements infrastructure>test-failureTriaged test failures from CITeam:Core/InfraMeta label for core/infra teamlow-riskAn open issue or test failure that is a low risk to future releases

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions