Skip to content

[CI] SSLErrorMessageFileTests testMessageForPemKeyOutsideConfigDir failing #131170

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:security:test" --tests "org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests.testMessageForPemKeyOutsideConfigDir" -Dtests.seed=4A43E6DC38D76769 -Dtests.locale=shi-Tfng -Dtests.timezone=America/Scoresbysund -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.http.ssl] - cannot read configured PEM private key [/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-1752929572090468426/elastic/elasticsearch-periodic/x-pack/plugin/security/build/testrun/test/temp/org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests_4A43E6DC38D76769-001/tempDir-029/config] directory"
     but: was <org.elasticsearch.ElasticsearchSecurityException: failed to load SSL configuration [xpack.http.ssl] - cannot read configured PEM private key [/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] 62 consecutive failures in test testMessageForPemKeyOutsideConfigDir
  • [9.0] 21 consecutive failures in step openjdk21_checkpart4_java-fips-matrix
  • [9.0] 21 consecutive failures in step openjdk23_checkpart4_java-matrix
  • [9.0] 20 consecutive failures in step openjdk21_checkpart4_java-matrix
  • [9.0] 21 consecutive failures in pipeline elasticsearch-periodic
  • [9.0] 62 failures in test testMessageForPemKeyOutsideConfigDir (100.0% fail rate in 62 executions)
  • [9.0] 21 failures in step openjdk21_checkpart4_java-fips-matrix (100.0% fail rate in 21 executions)
  • [9.0] 21 failures in step openjdk23_checkpart4_java-matrix (100.0% fail rate in 21 executions)
  • [9.0] 20 failures in step openjdk21_checkpart4_java-matrix (100.0% fail rate in 20 executions)
  • [9.0] 21 failures in pipeline elasticsearch-periodic (100.0% fail rate in 21 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

    >test-failureTriaged test failures from CIlow-riskAn open issue or test failure that is a low risk to future releasesneeds:triageRequires assignment of a team area label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions