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

[CI] OperatorPrivilegesIT testEveryActionIsEitherOperatorOnlyOrNonOperator failing #118001

Open
elasticsearchmachine opened this issue Dec 4, 2024 · 2 comments
Labels
needs:risk Requires assignment of a risk label (low, medium, blocker) :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC Team:Security Meta label for security team >test-failure Triaged test failures from CI

Comments

@elasticsearchmachine
Copy link
Collaborator

elasticsearchmachine commented Dec 4, 2024

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:security:qa:operator-privileges-tests:javaRestTest" --tests "org.elasticsearch.xpack.security.operator.OperatorPrivilegesIT.testEveryActionIsEitherOperatorOnlyOrNonOperator" -Dtests.seed=D49E6C169B410A04 -Dbuild.snapshot=false -Dtests.jvm.argline="-Dbuild.snapshot=false" -Dlicense.key=x-pack/license-tools/src/test/resources/public.key -Dtests.locale=kxv-Telu-IN -Dtests.timezone=Asia/Kuala_Lumpur -Druntime.java=23

Applicable branches:
8.16

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: Actions may no longer be valid: [[indices:admin/data_stream/options/put, indices:admin/data_stream/options/get, indices:admin/data_stream/options/delete]]. They should be removed from either the operator-only action registry in [org.elasticsearch.xpack.security.operator.DefaultOperatorOnlyRegistry] or the non-operator action list in [org.elasticsearch.xpack.security.operator.Constants]

Issue Reasons:

  • [8.16] 21 consecutive failures in step release-tests
  • [8.16] 21 failures in test testEveryActionIsEitherOperatorOnlyOrNonOperator (3.3% fail rate in 627 executions)
  • [8.16] 21 failures in step release-tests (100.0% fail rate in 21 executions)
  • [8.16] 21 failures in pipeline elasticsearch-periodic (100.0% fail rate in 21 executions)

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

@elasticsearchmachine elasticsearchmachine added :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC >test-failure Triaged test failures from CI Team:Security Meta label for security team needs:risk Requires assignment of a risk label (low, medium, blocker) labels Dec 4, 2024
@elasticsearchmachine
Copy link
Collaborator Author

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

@n1v0lg
Copy link
Contributor

n1v0lg commented Dec 4, 2024

I don't get it -- I fixed it here: #117631, I thought. I'll have to take another look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:risk Requires assignment of a risk label (low, medium, blocker) :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC 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