Skip to content

[CI] GetUserPrivilegesResponseTests failure [:x-pack:plugin:core] #34610

@lipsill

Description

@lipsill

I just notice a CI failure in GetUserPrivilegesResponseTests
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+pull-request/242/console

18:04:31   2> REPRODUCE WITH: ./gradlew :x-pack:plugin:core:test -Dtests.seed=1E5F34897FD60A6C -Dtests.class=org.elasticsearch.xpack.core.security.action.user.GetUserPrivilegesResponseTests -Dtests.method="testEqualsAndHashCode" -Dtests.security.manager=true -Dtests.locale=uk -Dtests.timezone=Atlantic/St_Helena -Dcompiler.java=11 -Druntime.java=8
18:04:31 FAILURE 0.03s J3 | GetUserPrivilegesResponseTests.testEqualsAndHashCode <<< FAILURES!
18:04:31    > Throwable #1: java.lang.AssertionError: GetUserPrivilegesResponse mutation should not be equal to original
18:04:31    > Expected: not <org.elasticsearch.xpack.core.security.action.user.GetUserPrivilegesResponse@8a3a3b0>
18:04:31    >      but: was <org.elasticsearch.xpack.core.security.action.user.GetUserPrivilegesResponse@8a3a3b0>
18:04:31    > 	at __randomizedtesting.SeedInfo.seed([1E5F34897FD60A6C:6D91CC447C73755D]:0)
18:04:31    > 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
18:04:31    > 	at org.elasticsearch.test.EqualsHashCodeTestUtils.checkEqualsAndHashCode(EqualsHashCodeTestUtils.java:82)
18:04:31    > 	at org.elasticsearch.xpack.core.security.action.user.GetUserPrivilegesResponseTests.testEqualsAndHashCode(GetUserPrivilegesResponseTests.java:100)
18:04:31    > 	at java.lang.Thread.run(Thread.java:748)

I was able to reproduce it locally and on master ca51fb6 as well.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions