You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Alexander Murmann (Jira)" <ji...@apache.org> on 2021/09/27 21:51:00 UTC
[jira] [Updated] (GEODE-9643) LuceneClientSecurityDUnitTest >
verifySearchIndexPermissions(UserNameAndExpectedResponse) [1] FAILED
[ https://issues.apache.org/jira/browse/GEODE-9643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Murmann updated GEODE-9643:
-------------------------------------
Labels: needsTriage (was: )
> LuceneClientSecurityDUnitTest > verifySearchIndexPermissions(UserNameAndExpectedResponse) [1] FAILED
> ----------------------------------------------------------------------------------------------------
>
> Key: GEODE-9643
> URL: https://issues.apache.org/jira/browse/GEODE-9643
> Project: Geode
> Issue Type: Bug
> Components: lucene, security
> Reporter: Nabarun Nag
> Priority: Major
> Labels: needsTriage
>
> Lucene Dunit tests during execution fails with AuthenticationRequiredException as it was unable to find an authenticated user
> {noformat}
> org.apache.geode.cache.lucene.LuceneClientSecurityDUnitTest > verifySearchIndexPermissions(UserNameAndExpectedResponse) [1] FAILED
> org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.cache.lucene.LuceneClientSecurityDUnitTest$$Lambda$64/245947456.run in VM 3 running on Host heavy-lifter-4213e41d-1d6e-5688-bf19-db9dcbeeb795.c.apachegeode-ci.internal with 4 VMs
> at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:631)
> at org.apache.geode.test.dunit.VM.invoke(VM.java:448)
> at org.apache.geode.cache.lucene.LuceneClientSecurityDUnitTest.verifySearchIndexPermissions(LuceneClientSecurityDUnitTest.java:67)
> Caused by:
> org.apache.geode.cache.execute.FunctionException: org.apache.geode.cache.client.ServerOperationException: remote server on heavy-lifter-4213e41d-1d6e-5688-bf19-db9dcbeeb795(13832:loner):44794:2740b11a: org.apache.geode.security.AuthenticationRequiredException: Failed to find the authenticated user.
> at org.apache.geode.internal.cache.execute.ServerRegionFunctionExecutor.executeOnServer(ServerRegionFunctionExecutor.java:215)
> at org.apache.geode.internal.cache.execute.ServerRegionFunctionExecutor.executeFunction(ServerRegionFunctionExecutor.java:156)
> at org.apache.geode.internal.cache.execute.ServerRegionFunctionExecutor.execute(ServerRegionFunctionExecutor.java:390)
> at org.apache.geode.internal.cache.execute.ServerRegionFunctionExecutor.execute(ServerRegionFunctionExecutor.java:351)
> at org.apache.geode.cache.lucene.internal.LuceneServiceImpl.waitUntilFlushed(LuceneServiceImpl.java:679)
> at org.apache.geode.cache.lucene.LuceneClientSecurityDUnitTest.executeTextSearch(LuceneClientSecurityDUnitTest.java:108)
> at org.apache.geode.cache.lucene.LuceneClientSecurityDUnitTest.lambda$verifySearchIndexPermissions$ca7f4b9f$1(LuceneClientSecurityDUnitTest.java:68)
> Caused by:
> org.apache.geode.cache.client.ServerOperationException: remote server on heavy-lifter-4213e41d-1d6e-5688-bf19-db9dcbeeb795(13832:loner):44794:2740b11a: org.apache.geode.security.AuthenticationRequiredException: Failed to find the authenticated user.
> at org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:559)
> at org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:623)
> at org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:500)
> at org.apache.geode.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:153)
> at org.apache.geode.cache.client.internal.PoolImpl.execute(PoolImpl.java:816)
> at org.apache.geode.cache.client.internal.ExecuteRegionFunctionOp.execute(ExecuteRegionFunctionOp.java:90)
> at org.apache.geode.cache.client.internal.ServerRegionProxy.executeFunction(ServerRegionProxy.java:685)
> at org.apache.geode.internal.cache.execute.ServerRegionFunctionExecutor.executeOnServer(ServerRegionFunctionExecutor.java:206)
> ... 6 more
> Caused by:
> org.apache.geode.security.AuthenticationRequiredException: Failed to find the authenticated user.
> at org.apache.geode.internal.security.IntegratedSecurityService.getSubject(IntegratedSecurityService.java:123)
> at org.apache.geode.internal.security.IntegratedSecurityService.authorize(IntegratedSecurityService.java:249)
> at java.util.Collections$SingletonList.forEach(Collections.java:4824)
> at org.apache.geode.internal.cache.tier.sockets.command.ExecuteRegionFunction66.cmdExecute(ExecuteRegionFunction66.java:168)
> at org.apache.geode.internal.cache.tier.sockets.BaseCommand.execute(BaseCommand.java:184)
> at org.apache.geode.internal.cache.tier.sockets.ServerConnection.doNormalMessage(ServerConnection.java:864)
> at org.apache.geode.internal.cache.tier.sockets.ServerConnection.doOneMessage(ServerConnection.java:1050)
> at org.apache.geode.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1316)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl.lambda$initializeServerConnectionThreadPool$3(AcceptorImpl.java:690)
> at org.apache.geode.logging.internal.executors.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:120)
> at java.lang.Thread.run(Thread.java:748){noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)