Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.15.0
-
None
Description
Lucene Dunit tests during execution fails with AuthenticationRequiredException as it was unable to find an authenticated user
[*http://files.apachegeode-ci.info/builds/apache-develop-mass-test-run/1.15.0-build.0513/test-results/distributedTest/1632541236/*]
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)
Attachments
Issue Links
- relates to
-
GEODE-9746 CI failure: QueryConfigurationServiceConstraintsDistributedTest failed to find authenticated user
- Closed