Skip to content
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

[BUG] Flaky integ tests in InternalUsersScoreBasedPasswordRulesRestApiIntegrationTest #4845

Closed
cwperks opened this issue Oct 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable.

Comments

@cwperks
Copy link
Member

cwperks commented Oct 25, 2024

What is the bug?

The integrationTest ci check has been having silent failures that have only been surfaced recently due to #4814 and catching the issues as part of release time testing. There are a few failing tests in InternalUsersScoreBasedPasswordRulesRestApiIntegrationTest.

> Task :integrationTest

Tests with failures:
 - org.opensearch.security.SecurityConfigurationTests.testParallelTenantPutRequests
 - org.opensearch.security.api.InternalUsersScoreBasedPasswordRulesRestApiIntegrationTest.canNotCreateUsersWithPassword
 - org.opensearch.security.api.InternalUsersScoreBasedPasswordRulesRestApiIntegrationTest.canCreateUserWithPassword
 - org.opensearch.security.api.DefaultApiAvailabilityIntegrationTest.securityConfigIsNotAvailableByDefault

Reference run: https://github.com/opensearch-project/security/actions/runs/11521949839/job/32076735911?pr=4844

Do you have any additional context?

Potentially caused by the static initialization of cluster settings in classes that subclass AbstractApiIntegrationTest

@cwperks cwperks added bug Something isn't working untriaged Require the attention of the repository maintainers and may need to be prioritized labels Oct 25, 2024
@cwperks cwperks added triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable. and removed untriaged Require the attention of the repository maintainers and may need to be prioritized labels Oct 28, 2024
@cwperks cwperks closed this as completed Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
Projects
None yet
Development

No branches or pull requests

2 participants