Skip to content

[CI] SSLErrorMessageFileTests testMessageForPemKeyOutsideConfigDir failing #127192

Open
@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:security:test" --tests "org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests.testMessageForTrustStoreOutsideConfigDir" -Dtests.seed=D586AA63B72932B6 -Dtests.jvm.argline="-Des.entitlements.enabled=true" -Dtests.locale=fr-GQ -Dtests.timezone=Asia/Ust-Nera -Druntime.java=21

Applicable branches:
main

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: 
Expected: a throwable with message of "failed to load SSL configuration [xpack.security.authc.realms.saml.saml1.ssl] - cannot read configured [jks] keystore (as a truststore) [/this/path/is/outside/the/config/directory/file.error] because access to read the file is blocked; SSL resources should be placed in the [/dev/shm/bk/bk-agent-prod-gcp-1745470777043392319/elastic/elasticsearch-periodic/x-pack/plugin/security/build/testrun/test/temp/org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests_D586AA63B72932B6-001/tempDir-084/config] directory"
     but: was <org.elasticsearch.ElasticsearchSecurityException: failed to load SSL configuration [xpack.security.authc.realms.saml.saml1.ssl] - cannot read configured [jks] keystore (as a truststore) [/this/path/is/outside/the/config/directory/file.error] because the file does not exist> at org.elasticsearch.xpack.core.ssl.SSLService.lambda$loadSslConfigurations$11(SSLService.java:622)

Issue Reasons:

  • [main] 22 consecutive failures in test testMessageForPemKeyOutsideConfigDir
  • [main] 5 consecutive failures in step openjdk21_entitlements_true_checkpart4_java-matrix
  • [main] 5 consecutive failures in step openjdk23_entitlements_false_checkpart4_java-matrix
  • [main] 4 consecutive failures in step openjdk21_checkpart4_java-fips-matrix
  • [main] 4 consecutive failures in step openjdk23_entitlements_true_checkpart4_java-matrix
  • [main] 4 consecutive failures in step openjdk21_entitlements_false_checkpart4_java-matrix
  • [main] 5 consecutive failures in pipeline elasticsearch-periodic
  • [main] 22 failures in test testMessageForPemKeyOutsideConfigDir (100.0% fail rate in 22 executions)
  • [main] 5 failures in step openjdk21_entitlements_true_checkpart4_java-matrix (100.0% fail rate in 5 executions)
  • [main] 5 failures in step openjdk23_entitlements_false_checkpart4_java-matrix (100.0% fail rate in 5 executions)
  • [main] 4 failures in step openjdk21_checkpart4_java-fips-matrix (100.0% fail rate in 4 executions)
  • [main] 4 failures in step openjdk23_entitlements_true_checkpart4_java-matrix (100.0% fail rate in 4 executions)
  • [main] 4 failures in step openjdk21_entitlements_false_checkpart4_java-matrix (100.0% fail rate in 4 executions)
  • [main] 5 failures in pipeline elasticsearch-periodic (100.0% fail rate in 5 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

    :Security/SecuritySecurity issues without another label>test-failureTriaged test failures from CITeam:SecurityMeta label for security 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