hi julian that looks pretty similar to OAK-4382 <https://issues.apache.org/jira/browse/OAK-4382> they have in common that they sync (or should sync) group-membership with infinite nesting (in the test-setup the nesting in anyway just 2).
but i can't reproduce neither issue on my machine; however, all those tests failing on your machine lack the 'deep' groups i.e. those groups the synced users is not declared but only inherited member of. not sure how to sort that out if i can't reproduce it. kind regards angela On 06/06/16 18:02, "Julian Reschke" <[email protected]> wrote: >On 2016-06-06 17:04, Davide Giannella wrote: >> A candidate for the Jackrabbit Oak 1.5.3 release is available at: >> >> https://dist.apache.org/repos/dist/dev/jackrabbit/oak/1.5.3/ >> >> The release candidate is a zip archive of the sources in: >> ... > > >I'm getting test failures in oak-auth-external: > >> >>testGetGroupMembershipExternalUserInfiniteDepth(org.apache.jackrabbit.oak >>.spi.security.authentication.external.impl.principal.PrincipalProviderAut >>oMembershipTest) Time elapsed: 0.051 sec <<< FAILURE! >> java.lang.AssertionError: >>expected:<[org.apache.jackrabbit.oak.security.user.GroupImpl$GroupPrincip >>al:ptestGroup52594cfe-26c9-4db9-838b-a607ff4c3e8c, >>org.apache.jackrabbit.oak.spi.security.principal.PrincipalImpl:aaa, >>org.apache.jackrabbit.oak.spi.security.principal.PrincipalImpl:b, >>org.apache.jackrabbit.oak.spi.security.principal.PrincipalImpl:c, >>org.apache.jackrabbit.oak.spi.security.principal.PrincipalImpl:a, >>org.apache.jackrabbit.oak.spi.security.principal.PrincipalImpl:aa]> but >>was:<[org.apache.jackrabbit.oak.security.user.GroupImpl$GroupPrincipal:pt >>estGroup52594cfe-26c9-4db9-838b-a607ff4c3e8c, >>org.apache.jackrabbit.oak.spi.security.authentication.external.impl.princ >>ipal.ExternalGroupPrincipalProvider$ExternalGroupPrincipal:b, >>org.apache.jackrabbit.oak.spi.security.authentication.external.impl.princ >>ipal.ExternalGroupPrincipalProvider$ExternalGroupPrincipal:c, >>org.apache.jackrabbit.oak.spi.security.authentication.external.impl.princ >>ipal.ExternalGroupPrincipalProvider$ExternalGroupPrincipal:a]> >> at org.junit.Assert.fail(Assert.java:88) >> at org.junit.Assert.failNotEquals(Assert.java:834) >> at org.junit.Assert.assertEquals(Assert.java:118) >> at org.junit.Assert.assertEquals(Assert.java:144) >> at >>org.apache.jackrabbit.oak.spi.security.authentication.external.impl.princ >>ipal.ExternalGroupPrincipalProviderTest.testGetGroupMembershipExternalUse >>rInfiniteDepth(ExternalGroupPrincipalProviderTest.java:282) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java >>:57) >> at >>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI >>mpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:606) >> at >>org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMeth >>od.java:50) >> at >>org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallabl >>e.java:12) >> at >>org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod >>.java:47) >> at >>org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod. >>java:17) >> at >>org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java >>:26) >> at >>org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:2 >>7) >> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) >> at >>org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner. >>java:78) >> at >>org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner. >>java:57) >> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) >> at >>org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) > >I know that Angela has been looking at them, but it seems they are >platform-specific (Windows...). > >Best regards, Julian >
