[CI] ApiKeyRestIT testGrantTargetCanUpdateApiKey failing
Author: elasticsearchmachineCreated Sep 17, 2026Updated Sep 17, 2026
Labels>test-failure:Security/AuthorizationTeam:Securityneeds:risk
Build Scans:
Reproduction Line:
./gradlew ":x-pack:plugin:security:qa:security-trial:javaRestTest" --tests "org.elasticsearch.xpack.security.apikey.ApiKeyRestIT.testGrantTargetCanUpdateApiKey" -Dtests.seed=9EB5C8EB2CAF5DAC -Dtests.locale=it -Dtests.timezone=Indian/Reunion -Druntime.java=27
Applicable branches: main
Reproduces locally?: N/A
Failure History: See dashboard
Failure Message:
org.elasticsearch.client.ResponseException: method [DELETE], host [http://[::1]:40519], URI [/_security/role/user_role], status line [HTTP/1.1 404 Not Found]
{"found":false}
Issue Reasons:
- [main] 1 consecutive failures in test testGrantTargetCanUpdateApiKey
- [main] 1 consecutive failures in step rocky-10_platform-support-unix
- [main] 1 consecutive failures in pipeline elasticsearch-periodic-platform-support
Note: This issue was created using new test triage automation. Please report issues or feedback to es-core-infra.
Source: elastic/elasticsearch