Skip to content

[CI] SSLErrorMessageFileTests class failing #127193

Open
@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:security:test" --tests "org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests.testMessageForTrustStoreOutsideConfigDir" -Dtests.seed=D254ADCE45031689 -Dtests.locale=fr-MQ -Dtests.timezone=Etc/GMT+4 -Druntime.java=21 -Dtests.fips.enabled=true

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.security.transport.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-1745816240697850588/elastic/elasticsearch-periodic/x-pack/plugin/security/build/testrun/test/temp/org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests_D254ADCE45031689-001/tempDir-038/config] directory"
     but: was <org.elasticsearch.ElasticsearchSecurityException: failed to load SSL configuration [xpack.security.transport.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:

  • [main] 5 consecutive failures in class org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests
  • [main] 17 consecutive failures in step openjdk21_checkpart4_java-fips-matrix
  • [main] 17 consecutive failures in step openjdk21_entitlements_true_checkpart4_java-matrix
  • [main] 17 consecutive failures in step openjdk21_entitlements_false_checkpart4_java-matrix
  • [main] 17 consecutive failures in step openjdk23_entitlements_true_checkpart4_java-matrix
  • [main] 17 consecutive failures in step openjdk23_entitlements_false_checkpart4_java-matrix
  • [main] 85 failures in class org.elasticsearch.xpack.ssl.SSLErrorMessageFileTests (9.8% fail rate in 863 executions)
  • [main] 17 failures in step openjdk21_checkpart4_java-fips-matrix (100.0% fail rate in 17 executions)
  • [main] 17 failures in step openjdk21_entitlements_true_checkpart4_java-matrix (100.0% fail rate in 17 executions)
  • [main] 17 failures in step openjdk21_entitlements_false_checkpart4_java-matrix (100.0% fail rate in 17 executions)
  • [main] 17 failures in step openjdk23_entitlements_true_checkpart4_java-matrix (100.0% fail rate in 17 executions)
  • [main] 17 failures in step openjdk23_entitlements_false_checkpart4_java-matrix (100.0% fail rate in 17 executions)
  • [main] 17 failures in pipeline elasticsearch-periodic (100.0% fail rate in 17 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