Skip to content

[CI] SSLErrorMessageFileTests testMessageForTrustStoreOutsideConfigDir failing #131569

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:security:test" --tests "org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests.testMessageForCertificateAuthoritiesOutsideConfigDir" -Dtests.seed=E142244F7DF7B6C2 -Dtests.locale=mi -Dtests.timezone=BET -Druntime.java=21 -Dtests.fips.enabled=true

Applicable branches:
9.0

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.http.ssl] - cannot read configured PEM certificate_authorities [/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-1753159771416942849/elastic/elasticsearch-periodic/x-pack/plugin/security/build/testrun/test/temp/org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests_E142244F7DF7B6C2-001/tempDir-041/config] directory"
     but: was <org.elasticsearch.ElasticsearchSecurityException: failed to load SSL configuration [xpack.security.http.ssl] - cannot read configured PEM certificate_authorities [/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.0] 65 consecutive failures in test testMessageForTrustStoreOutsideConfigDir
  • [9.0] 22 consecutive failures in step openjdk21_checkpart4_java-fips-matrix
  • [9.0] 22 consecutive failures in step openjdk21_checkpart4_java-matrix
  • [9.0] 21 consecutive failures in step openjdk23_checkpart4_java-matrix
  • [9.0] 22 consecutive failures in pipeline elasticsearch-periodic
  • [9.0] 65 failures in test testMessageForTrustStoreOutsideConfigDir (100.0% fail rate in 65 executions)
  • [9.0] 22 failures in step openjdk21_checkpart4_java-fips-matrix (100.0% fail rate in 22 executions)
  • [9.0] 22 failures in step openjdk21_checkpart4_java-matrix (100.0% fail rate in 22 executions)
  • [9.0] 21 failures in step openjdk23_checkpart4_java-matrix (100.0% fail rate in 21 executions)
  • [9.0] 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

:Security/SecuritySecurity issues without another label>test-failureTriaged test failures from CITeam:SecurityMeta label for security teamneeds:riskRequires assignment of a risk label (low, medium, blocker)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions