Skip to content

[CI] MicrosoftGraphAuthzPluginIT testConcurrentAuthentication failing #135777

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:security:qa:microsoft-graph-authz-tests:javaRestTest" --tests "org.elasticsearch.xpack.security.authz.microsoft.MicrosoftGraphAuthzPluginIT.testConcurrentAuthentication" -Dtests.seed=5BEF27AC300374D8 -Dtests.locale=ckb-IQ -Dtests.timezone=America/Mendoza -Druntime.java=25

Applicable branches:
8.19

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.util.concurrent.ExecutionException: org.elasticsearch.client.ResponseException: method [POST], host [http://[::1]:34055], URI [_security/saml/authenticate], status line [HTTP/1.1 401 Unauthorized]
{"error":{"root_cause":[{"type":"security_exception","reason":"error attempting to authenticate request","header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}}],"type":"security_exception","reason":"error attempting to authenticate request","caused_by":{"type":"array_index_out_of_bounds_exception","reason":"Index 1 out of bounds for length 0"},"header":{"WWW-Authenticate":["Basic realm=\"security\", charset=\"UTF-8\"","Bearer realm=\"security\"","ApiKey"]}},"status":401}

Issue Reasons:

  • [8.19] 2 failures in test testConcurrentAuthentication (0.8% fail rate in 238 executions)
  • [8.19] 2 failures in pipeline elasticsearch-periodic-platform-support (25.0% fail rate in 8 executions)

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

Metadata

Metadata

Assignees

Labels

:Security/AuthorizationRoles, Privileges, DLS/FLS, RBAC/ABAC>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