Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
elasticsearchmachine opened this issue Feb 11, 2025 · 4 comments
Labels
low-risk An open issue or test failure that is a low risk to future releases :Security/Security Security issues without another label Team:Security Meta label for security team >test-failure Triaged test failures from CI

Comments

@elasticsearchmachine
Copy link
Collaborator

elasticsearchmachine commented Feb 11, 2025

Build Scans:

Reproduction Line:

./gradlew ":docs:yamlRestTest" --tests "org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT.test {yaml=reference/rest-api/security/invalidate-tokens/line_216}" -Dtests.seed=55701E69DEEC390 -Dtests.locale=tt -Dtests.timezone=Europe/Jersey -Druntime.java=17 -Dtests.fips.enabled=true

Applicable branches:
8.x

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: Failure at [reference/rest-api/security/invalidate-tokens:155]: 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 [email protected]/org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.notFoundException(IndexNameExpressionResolver.java:673)\n\tat [email protected]/org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.ensureAliasOrIndexExists(IndexNameExpressionResolver.java:1308)\n\tat [email protected]/org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.resolveExpressions
[truncated]

Issue Reasons:

  • [8.x] 2 failures in test test {yaml=reference/rest-api/security/invalidate-tokens/line_216} (0.3% fail rate in 592 executions)

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

@elasticsearchmachine elasticsearchmachine added :Delivery/Build Build or test infrastructure >test-failure Triaged test failures from CI labels Feb 11, 2025
elasticsearchmachine added a commit that referenced this issue Feb 11, 2025
…=reference/rest-api/security/invalidate-tokens/line_216} #122229
@elasticsearchmachine
Copy link
Collaborator Author

This has been muted on branch 8.18

Mute Reasons:

  • [8.18] 2 failures in test test {yaml=reference/rest-api/security/invalidate-tokens/line_216} (0.2% fail rate in 896 executions)

Build Scans:

@elasticsearchmachine elasticsearchmachine added Team:Delivery Meta label for Delivery team needs:risk Requires assignment of a risk label (low, medium, blocker) labels Feb 11, 2025
@elasticsearchmachine
Copy link
Collaborator Author

Pinging @elastic/es-delivery (Team:Delivery)

@slobodanadamovic slobodanadamovic added :Security/Security Security issues without another label Team:Security Meta label for security team and removed :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team labels Mar 13, 2025
@elasticsearchmachine
Copy link
Collaborator Author

Pinging @elastic/es-security (Team:Security)

@slobodanadamovic
Copy link
Contributor

slobodanadamovic commented Apr 15, 2025

The issue seem to be similar as in #123807 (comment).
I'm going to unmute the test.

[2025-02-19T14:05:44,917][INFO ][o.e.s.DocsClientYamlTestSuiteIT] [test] [yaml=reference/rest-api/security/invalidate-tokens/line_216] before test
[2025-02-19T14:07:13,881][INFO ][o.e.s.DocsClientYamlTestSuiteIT] [test] [yaml=reference/rest-api/security/invalidate-tokens/line_78] before test
[2025-02-19T14:07:52,785][INFO ][o.e.s.DocsClientYamlTestSuiteIT] [test] [yaml=reference/rest-api/security/invalidate-tokens/line_205] before test
[2025-02-19T14:22:13,714][INFO ][o.e.s.DocsClientYamlTestSuiteIT] [test] [yaml=reference/rest-api/security/invalidate-tokens/line_134] before test
[2025-02-19T14:30:44,057][INFO ][o.e.s.DocsClientYamlTestSuiteIT] [test] [yaml=reference/rest-api/security/invalidate-tokens/line_194] before test

@slobodanadamovic slobodanadamovic added low-risk An open issue or test failure that is a low risk to future releases and removed needs:risk Requires assignment of a risk label (low, medium, blocker) labels Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low-risk An open issue or test failure that is a low risk to future releases :Security/Security Security issues without another label Team:Security Meta label for security team >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

2 participants