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

[TEST] GetUserPrivilegesResponseTests#testSerialization failing #34631

Closed
ywelsch opened this issue Oct 19, 2018 · 3 comments
Closed

[TEST] GetUserPrivilegesResponseTests#testSerialization failing #34631

ywelsch opened this issue Oct 19, 2018 · 3 comments
Labels
:Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC >test-failure Triaged test failures from CI

Comments

@ywelsch
Copy link
Contributor

ywelsch commented Oct 19, 2018

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+release-tests/6/consoleText

reproducible with

./gradlew :x-pack:plugin:core:test -Dtests.seed=8BE719D19FE47313 -Dtests.class=org.elasticsearch.xpack.core.security.action.user.GetUserPrivilegesResponseTests -Dtests.method="testSerialization" -Dtests.security.manager=true -Dtests.locale=ar-LB -Dtests.timezone=America/Barbados -Dcompiler.java=11 -Druntime.java=8

Output:

 > Throwable #1: java.lang.AssertionError: 
   > Expected: <[Indices[indices=[WcqW], privileges=[Hds,QTq,hLl,lNp,xEH], fls=[FieldGrantExcludeGroup[grant=ivGEE,WcTrK; exclude=MWcXa,DQtqw,JIEkB]], dls=[lfsOPF,WpVNsS,BqroZz]], Indices[indices=[jIfp,uEId], privileges=[CCoSBJ,FVBtoY,YbyPNM], dls=[bQdpY]], Indices[indices=[ABx,SDJ,hkw,jmb,sbU,tyg], privileges=[CQXYXl,CRLZqD,UGGTPw,XWpoVR,odyXeC,qonneq,zJTkeG], fls=[FieldGrantExcludeGroup[grant=PUoiv; exclude=YMmTL,yIToL]], dls=[JokC]], Indices[indices=[AlUyc,ExxmV,FdpWZ,PovBz,ZobJo,smAqE], privileges=[PtB,QHd], fls=[FieldGrantExcludeGroup[grant=Eprlk; exclude=Kbkfu,RxBFX]], dls=[DRyXMG,KOUQKH,KxbYmM]]]>
   >      but: was <[Indices[indices=[WcqW], privileges=[hLl,xEH,Hds,QTq,lNp], fls=[FieldGrantExcludeGroup[grant=ivGEE,WcTrK; exclude=MWcXa,DQtqw,JIEkB]], dls=[WpVNsS,lfsOPF,BqroZz]], Indices[indices=[jIfp,uEId], privileges=[CCoSBJ,FVBtoY,YbyPNM], dls=[bQdpY]], Indices[indices=[AlUyc,ExxmV,ZobJo,FdpWZ,PovBz,smAqE], privileges=[QHd,PtB], fls=[FieldGrantExcludeGroup[grant=Eprlk; exclude=Kbkfu,RxBFX]], dls=[KOUQKH,DRyXMG,KxbYmM]], Indices[indices=[SDJ,tyg,hkw,jmb,ABx,sbU], privileges=[CQXYXl,zJTkeG,odyXeC,UGGTPw,XWpoVR,qonneq,CRLZqD], fls=[FieldGrantExcludeGroup[grant=PUoiv; exclude=YMmTL,yIToL]], dls=[JokC]]]>
   > 	at __randomizedtesting.SeedInfo.seed([8BE719D19FE47313:DF3F7899B8B64E8F]:0)
   > 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
   > 	at org.elasticsearch.xpack.core.security.action.user.GetUserPrivilegesResponseTests.testSerialization(GetUserPrivilegesResponseTests.java:58)
   > 	at java.lang.Thread.run(Thread.java:748)
@ywelsch ywelsch added >test-failure Triaged test failures from CI :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC labels Oct 19, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

@albertzaharovits
Copy link
Contributor

FYI @tvernum when backporting #33928

@tvernum
Copy link
Contributor

tvernum commented Oct 21, 2018

Thanks @albertzaharovits

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 >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

4 participants