Open n1v0lg opened 1 year ago
Pinging @elastic/es-security (Team:Security)
Oddly enough it looks like it used to fail a year or so ago in a similar way on 8.0:
https://github.com/elastic/elasticsearch/issues/83140
That issue was closed since the failure only occurred on 8.0
The error message:
Points to
test_role_cache_role
role missing, which is odd because we create it as part of the test setup.What also seems weird is that the test does not reproduce locally so I'm guessing this is a race condition around role creation.
Build scan: https://gradle-enterprise.elastic.co/s/zb7dzgsmlz6vq/tests/:x-pack:plugin:security:internalClusterTest/org.elasticsearch.xpack.security.authz.store.NativePrivilegeStoreCacheTests/testRolesCacheIsClearedWhenPrivilegesIsChanged
Reproduction line:
Applicable branches: main
Reproduces locally?: No
Failure history: https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.xpack.security.authz.store.NativePrivilegeStoreCacheTests&tests.test=testRolesCacheIsClearedWhenPrivilegesIsChanged
Failure excerpt: