elasticsearch icon indicating copy to clipboard operation
elasticsearch copied to clipboard

[CI] SSLErrorMessageFileTests testMessageForPemCertificateOutsideConfigDir failing

Open elasticsearchmachine opened this issue 5 months ago • 4 comments

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:security:test" --tests "org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests.testMessageForCertificateAuthoritiesOutsideConfigDir" -Dtests.seed=78F15498A3248E6C -Dtests.locale=fr-TN -Dtests.timezone=Australia/ACT -Druntime.java=21

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.transport.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-1749876354960029536/elastic/elasticsearch-periodic/x-pack/plugin/security/build/testrun/test/temp/org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests_78F15498A3248E6C-001/tempDir-048/config] directory"
     but: was <org.elasticsearch.ElasticsearchSecurityException: failed to load SSL configuration [xpack.security.transport.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] 64 consecutive failures in test testMessageForPemCertificateOutsideConfigDir
  • [9.0] 21 consecutive failures in step openjdk23_checkpart4_java-matrix
  • [9.0] 22 consecutive failures in step openjdk21_checkpart4_java-matrix
  • [9.0] 21 consecutive failures in step openjdk21_checkpart4_java-fips-matrix
  • [9.0] 22 consecutive failures in pipeline elasticsearch-periodic
  • [9.0] 64 failures in test testMessageForPemCertificateOutsideConfigDir (100.0% fail rate in 64 executions)
  • [9.0] 21 failures in step openjdk23_checkpart4_java-matrix (100.0% fail rate in 21 executions)
  • [9.0] 22 failures in step openjdk21_checkpart4_java-matrix (100.0% fail rate in 22 executions)
  • [9.0] 21 failures in step openjdk21_checkpart4_java-fips-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.

elasticsearchmachine avatar May 04 '25 13:05 elasticsearchmachine