Skip to content

[CI] SSLErrorMessageFileTests testMessageForPemCertificateOutsideConfigDir failing #127686

Open
@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:security:test" --tests "org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests.testMessageForPemCertificateOutsideConfigDir" -Dtests.seed=9B828040DCB5A406 -Dtests.locale=sq -Dtests.timezone=Etc/GMT+5 -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.monitoring.exporters.http.ssl] - cannot read configured PEM certificate [/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-1747140997672601588/elastic/elasticsearch-periodic/x-pack/plugin/security/build/testrun/test/temp/org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests_9B828040DCB5A406-001/tempDir-002/config] directory"
     but: was <org.elasticsearch.ElasticsearchSecurityException: failed to load SSL configuration [xpack.monitoring.exporters.http.ssl] - cannot read configured PEM certificate [/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] 66 consecutive failures in test testMessageForPemCertificateOutsideConfigDir
  • [main] 19 consecutive failures in step openjdk21_checkpart4_java-matrix
  • [main] 21 consecutive failures in step openjdk21_checkpart4_java-fips-matrix
  • [main] 18 consecutive failures in step openjdk23_checkpart4_java-matrix
  • [main] 2 consecutive failures in step openjdk23_entitlements_true_checkpart4_java-matrix
  • [main] 2 consecutive failures in step openjdk21_entitlements_true_checkpart4_java-matrix
  • [main] 2 consecutive failures in step openjdk21_entitlements_false_checkpart4_java-matrix
  • [main] 2 consecutive failures in step openjdk23_entitlements_false_checkpart4_java-matrix
  • [main] 21 consecutive failures in pipeline elasticsearch-periodic
  • [main] 66 failures in test testMessageForPemCertificateOutsideConfigDir (100.0% fail rate in 66 executions)
  • [main] 19 failures in step openjdk21_checkpart4_java-matrix (100.0% fail rate in 19 executions)
  • [main] 21 failures in step openjdk21_checkpart4_java-fips-matrix (100.0% fail rate in 21 executions)
  • [main] 18 failures in step openjdk23_checkpart4_java-matrix (100.0% fail rate in 18 executions)
  • [main] 2 failures in step openjdk23_entitlements_true_checkpart4_java-matrix (100.0% fail rate in 2 executions)
  • [main] 2 failures in step openjdk21_entitlements_true_checkpart4_java-matrix (100.0% fail rate in 2 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