Skip to content

[CI] DocsClientYamlTestSuiteIT test {yaml=reference/rest-api/security/invalidate-tokens/line_194} failing #121337

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":docs:yamlRestTest" --tests "org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT.test {yaml=reference/rest-api/security/invalidate-tokens/line_194}" -Dtests.seed=9560C65A851EF9F8 -Dtests.locale=sd-Arab -Dtests.timezone=America/Kentucky/Monticello -Druntime.java=23

Applicable branches:
main

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: Failure at [reference/rest-api/security/invalidate-tokens:119]: expected [2xx] status code but api [raw[method=DELETE path=_security/oauth2/token]] returned [404 Not Found] [{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [.security-tokens]","resource.type":"index_or_alias","resource.id":".security-tokens","index_uuid":"_na_","index":".security-tokens","stack_trace":"[.security-tokens] org.elasticsearch.index.IndexNotFoundException: no such index [.security-tokens]\n\tat org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.notFoundException(IndexNameExpressionResolver.java:685)\n\tat org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.ensureAliasOrIndexExists(IndexNameExpressionResolver.java:1321)\n\tat org.elasticsearch.server@9.0.0-SNAPSHOT/org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.resolveExpressionsToR
[truncated]

Issue Reasons:

  • [main] 2 failures in test test {yaml=reference/rest-api/security/invalidate-tokens/line_194} (0.3% fail rate in 608 executions)

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

Metadata

Metadata

Labels

:Security/SecuritySecurity issues without another label>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
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions