./gradlew ":x-pack:plugin:security:qa:service-account:javaRestTest" --tests "org.elasticsearch.xpack.security.authc.service.ServiceAccountIT.testAuthenticateShouldNotFallThroughInCaseOfFailure" -Dtests.seed=175B5E764D4432B -Dtests.locale=kxv-Deva -Dtests.timezone=Asia/Tomsk -Druntime.java=23
java.lang.AssertionError:
Expected: a string containing "no such index [.security]"
but: was "method [GET], host [https://[::1]:40637], URI [_security/_authenticate], status line [HTTP/1.1 401 Unauthorized]
{"error":{"root_cause":[{"type":"security_exception","reason":"failed to authenticate service account [elastic/fleet-server] with token name [token1]","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}}],"type":"security_exception","reason":"failed to authenticate service account [elastic/fleet-server] with token name [token1]","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}},"status":401}"
Build Scans:
Reproduction Line:
Applicable branches:
8.x
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.