Skip to content

[CI] org.elasticsearch.xpack.security.authz.ReadActionsTests testEmptyAuthorizedIndicesSearchForAllDisallowNoIndices failure #33123

@astefan

Description

@astefan

This test method seems to have been failing before here and here.

And just like before, it doesn't reproduce for me locally at all.

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+matrix-java-periodic/ES_BUILD_JAVA=java10,ES_RUNTIME_JAVA=java10,nodes=virtual&&linux/254/console

gradlew :x-pack:plugin:security:test -Dtests.seed=9FE3840CBE452353 -Dtests.class=org.elasticsearch.xpack.security.authz.ReadActionsTests -Dtests.method="testEmptyAuthorizedIndicesSearchForAllDisallowNoIndices" -Dtests.security.manager=true -Dtests.locale=en-ZW -Dtests.timezone=Asia/Pyongyang -Dcompiler.java=10 -Druntime.java=10
15:04:23  ERROR   0.85s J3 | ReadActionsTests.testEmptyAuthorizedIndicesSearchForAllDisallowNoIndices <<< FAILURES!
15:04:23     > Throwable #1: org.elasticsearch.action.ActionRequestValidationException: Validation Failed: 1: Must specify at least one alias action;
15:04:23     > 	at __randomizedtesting.SeedInfo.seed([9FE3840CBE452353:DB3C392D6D510510]:0)
15:04:23     > 	at org.elasticsearch.action.ValidateActions.addValidationError(ValidateActions.java:26)
15:04:23     > 	at org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest.validate(IndicesAliasesRequest.java:540)
15:04:23     > 	at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:128)
15:04:23     > 	at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:81)
15:04:23     > 	at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:87)
15:04:23     > 	at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:76)
15:04:23     > 	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:395)
15:04:23     > 	at org.elasticsearch.client.FilterClient.doExecute(FilterClient.java:67)
15:04:23     > 	at org.elasticsearch.client.support.AbstractClient$1.doExecute(AbstractClient.java:1776)
15:04:23     > 	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:395)
15:04:23     > 	at org.elasticsearch.client.FilterClient.doExecute(FilterClient.java:67)
15:04:23     > 	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:395)
15:04:23     > 	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:384)
15:04:23     > 	at org.elasticsearch.client.support.AbstractClient$IndicesAdmin.execute(AbstractClient.java:1242)
15:04:23     > 	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:46)
15:04:23     > 	at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:53)
15:04:23     > 	at org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked(ElasticsearchAssertions.java:93)
15:04:23     > 	at org.elasticsearch.test.SecurityIntegTestCase.createIndicesWithRandomAliases(SecurityIntegTestCase.java:443)
15:04:23     > 	at org.elasticsearch.xpack.security.authz.ReadActionsTests.testEmptyAuthorizedIndicesSearchForAllDisallowNoIndices(ReadActionsTests.java:106)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions