Skip to content

[CI] JwtRealmSingleNodeTests testClientSecretRotation failing #120985

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:security:internalClusterTest" --tests "org.elasticsearch.xpack.security.authc.jwt.JwtRealmSingleNodeTests.testClientSecretRotation" -Dtests.seed=F77F4F5903D9571E -Dtests.locale=agq-CM -Dtests.timezone=America/Whitehorse -Druntime.java=23 

Applicable branches:
9.0

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

org.elasticsearch.client.ResponseException: method [GET], host [http://127.0.0.1:9200], URI [/_security/_authenticate], status line [HTTP/1.1 401 Unauthorized] {"error":{"root_cause":[{"type":"unavailable_shards_exception","reason":"at least one search shard for the index [.security-7] is unavailable"}],"type":"security_exception","reason":"error attempting to authenticate request","additional_unsuccessful_credentials":"oauth2 token: invalid token","caused_by":{"type":"unavailable_shards_exception","reason":"at least one search shard for the index [.security-7] is unavailable"},"header":{"WWW-Authenticate":["ApiKey","Basic realm=\"security\", charset=\"UTF-8\""]}},"status":401} 

Issue Reasons:

  • [9.0] 13 failures in test testClientSecretRotation (2.2% fail rate in 598 executions)
  • [9.0] 2 failures in step almalinux-8-aarch64_checkpart4_platform-support-arm (10.0% fail rate in 20 executions)
  • [9.0] 3 failures in step windows-2022_checkpart4_platform-support-windows (15.0% fail rate in 20 executions)
  • [9.0] 2 failures in step ubuntu-2004-aarch64_checkpart4_platform-support-arm (10.0% fail rate in 20 executions)
  • [9.0] 12 failures in pipeline elasticsearch-periodic-platform-support (57.1% fail rate in 21 executions)

Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions