./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
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)
Build Scans:
Reproduction Line:
Applicable branches:
9.0
Reproduces locally?:
N/A
Failure History:
See dashboard
Failure Message:
Issue Reasons:
Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.