Skip to content

[CI] SSLErrorMessageFileTests class failing #127193

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:security:test" --tests "org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests.testMessageForTrustStoreOutsideConfigDir" -Dtests.seed=5F546BDF51617EBA -Dtests.locale=sd-Arab -Dtests.timezone=Africa/Cairo -Druntime.java=23

Applicable branches:
9.1

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-1752382764497548191/elastic/elasticsearch-periodic/x-pack/plugin/security/build/testrun/test/temp/org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests_5F546BDF51617EBA-001/tempDir-040/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:

  • [9.1] 3 consecutive failures in class org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests
  • [9.1] 22 consecutive failures in step openjdk23_checkpart4_java-matrix
  • [9.1] 22 consecutive failures in step openjdk21_checkpart4_java-matrix
  • [9.1] 21 consecutive failures in step openjdk21_checkpart4_java-fips-matrix
  • [9.1] 65 failures in class org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests (9.9% fail rate in 654 executions)
  • [9.1] 22 failures in step openjdk23_checkpart4_java-matrix (100.0% fail rate in 22 executions)
  • [9.1] 22 failures in step openjdk21_checkpart4_java-matrix (100.0% fail rate in 22 executions)
  • [9.1] 21 failures in step openjdk21_checkpart4_java-fips-matrix (100.0% fail rate in 21 executions)
  • [9.1] 22 failures in pipeline elasticsearch-periodic (100.0% fail rate in 22 executions)

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

Metadata

Metadata

Assignees

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