-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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] RoleDescriptorTests testSerialization failing #82216
Labels
:Security/Authorization
Roles, Privileges, DLS/FLS, RBAC/ABAC
Team:Security
Meta label for security team
>test-failure
Triaged test failures from CI
Comments
Pinging @elastic/es-security (Team:Security) |
Interestingly, this only seems to reproduce on |
tvernum
added a commit
to tvernum/elasticsearch
that referenced
this issue
Jan 5, 2022
allowRestrictedIndices was only added in ES6.7 (see elastic#37577). For randomised testing we should not set that field if we are generating a role descriptor that will be serialized into an older version stream. Resolves: elastic#82216
I got a 7.17 failure:
|
elasticsearchmachine
pushed a commit
that referenced
this issue
Jan 10, 2022
tvernum
added a commit
to tvernum/elasticsearch
that referenced
this issue
Jan 10, 2022
allowRestrictedIndices was only added in ES6.7 (see elastic#37577). For randomised testing we should not set that field if we are generating a role descriptor that will be serialized into an older version stream. Resolves: elastic#82216
elasticsearchmachine
pushed a commit
that referenced
this issue
Jan 10, 2022
This was resolved in #82242 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Security/Authorization
Roles, Privileges, DLS/FLS, RBAC/ABAC
Team:Security
Meta label for security team
>test-failure
Triaged test failures from CI
Build scan:
https://gradle-enterprise.elastic.co/s/rszuztj2zglxw/tests/:x-pack:plugin:security:test/org.elasticsearch.xpack.security.authz.RoleDescriptorTests/testSerialization
Reproduction line:
./gradlew ':x-pack:plugin:security:test' --tests "org.elasticsearch.xpack.security.authz.RoleDescriptorTests.testSerialization" -Dtests.seed=D84C48900B786F5A -Dtests.locale=es-CL -Dtests.timezone=Canada/Atlantic -Druntime.java=8
Applicable branches:
7.16
Reproduces locally?:
Yes
Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.xpack.security.authz.RoleDescriptorTests&tests.test=testSerialization
Failure excerpt:
The text was updated successfully, but these errors were encountered: