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 #119911

Closed
elasticsearchmachine opened this issue Jan 10, 2025 · 3 comments
Assignees
Labels
low-risk An open issue or test failure that is a low risk to future releases :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

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:security:qa:operator-privileges-tests:javaRestTest" --tests "org.elasticsearch.xpack.security.operator.OperatorPrivilegesIT.testEveryActionIsEitherOperatorOnlyOrNonOperator" -Dtests.seed=FA66C672607A14DB -Dbuild.snapshot=false -Dtests.jvm.argline="-Dbuild.snapshot=false" -Dlicense.key=x-pack/license-tools/src/test/resources/public.key -Dtests.locale=es-IC -Dtests.timezone=America/Iqaluit -Druntime.java=23

Applicable branches:
8.x

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: Actions may no longer be valid: [[cluster:monitor/xpack/inference/unified]]. 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.x] 13 consecutive failures in step release-tests
  • [8.x] 13 failures in test testEveryActionIsEitherOperatorOnlyOrNonOperator (1.6% fail rate in 819 executions)
  • [8.x] 13 failures in step release-tests (100.0% fail rate in 13 executions)
  • [8.x] 11 failures in pipeline elasticsearch-periodic (57.9% fail rate in 19 executions)
  • [8.x] 2 failures in pipeline elasticsearch-pull-request (1.5% fail rate in 134 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 labels Jan 10, 2025
@elasticsearchmachine
Copy link
Collaborator Author

This has been muted on branch 8.x

Mute Reasons:

  • [8.x] 13 consecutive failures in step release-tests
  • [8.x] 13 failures in test testEveryActionIsEitherOperatorOnlyOrNonOperator (1.6% fail rate in 819 executions)
  • [8.x] 13 failures in step release-tests (100.0% fail rate in 13 executions)
  • [8.x] 11 failures in pipeline elasticsearch-periodic (57.9% fail rate in 19 executions)
  • [8.x] 2 failures in pipeline elasticsearch-pull-request (1.5% fail rate in 134 executions)

Build Scans:

elasticsearchmachine added a commit that referenced this issue Jan 10, 2025
…estEveryActionIsEitherOperatorOnlyOrNonOperator #119911
@elasticsearchmachine elasticsearchmachine added the Team:Security Meta label for security team label Jan 10, 2025
@elasticsearchmachine
Copy link
Collaborator Author

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

@elasticsearchmachine elasticsearchmachine added the needs:risk Requires assignment of a risk label (low, medium, blocker) label Jan 10, 2025
@n1v0lg n1v0lg self-assigned this Jan 10, 2025
@n1v0lg n1v0lg added the low-risk An open issue or test failure that is a low risk to future releases label Jan 10, 2025
@elasticsearchmachine elasticsearchmachine removed the needs:risk Requires assignment of a risk label (low, medium, blocker) label Jan 10, 2025
@n1v0lg
Copy link
Contributor

n1v0lg commented Jan 10, 2025

Just needs the backport to pass: #119681

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/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