[
https://issues.apache.org/jira/browse/GEODE-9643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434023#comment-17434023
]
Nabarun Nag commented on GEODE-9643:
------------------------------------
{noformat}
QueryConfigurationServiceConstraintsDistributedTest > [1]
queriesInFlightExecutedByClientsShouldNotBeAffectedWhenMethodAuthorizerIsChanged(RegionType:REPLICATE)
FAILED
org.apache.geode.test.dunit.RMIException: While invoking
org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest$$Lambda$316/1094275414.run
in VM 2 running on Host
heavy-lifter-07e0cd8e-3bd4-5b18-8721-a58c7019feac.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.test.junit.rules.VMProvider.invoke(VMProvider.java:96)
at
org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest.queriesInFlightExecutedByClientsShouldNotBeAffectedWhenMethodAuthorizerIsChanged(QueryConfigurationServiceConstraintsDistributedTest.java:257)
Caused by:
org.apache.geode.cache.client.ServerOperationException: remote server on
heavy-lifter-07e0cd8e-3bd4-5b18-8721-a58c7019feac(179379:loner):45112:e2277bad:
org.apache.geode.security.AuthenticationRequiredException: Failed to find the
authenticated user.
at
org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:560)
at
org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:624)
at
org.apache.geode.cache.client.internal.OpExecutorImpl.handleException(OpExecutorImpl.java:501)
at
org.apache.geode.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:154)
at
org.apache.geode.cache.client.internal.OpExecutorImpl.execute(OpExecutorImpl.java:120)
at org.apache.geode.cache.client.internal.PoolImpl.execute(PoolImpl.java:805)
at org.apache.geode.cache.client.internal.QueryOp.execute(QueryOp.java:63)
at
org.apache.geode.cache.client.internal.ServerProxy.query(ServerProxy.java:59)
at
org.apache.geode.cache.query.internal.DefaultQuery.executeOnServer(DefaultQuery.java:327)
at
org.apache.geode.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:215)
at
org.apache.geode.cache.query.internal.DefaultQuery.execute(DefaultQuery.java:197)
at
org.apache.geode.cache.query.internal.QueryConfigurationServiceConstraintsDistributedTest.lambda$queriesInFlightExecutedByClientsShouldNotBeAffectedWhenMethodAuthorizerIsChanged$102409ba$1(QueryConfigurationServiceConstraintsDistributedTest.java:262)
Caused by:
org.apache.geode.security.AuthenticationRequiredException: Failed to find the
authenticated user.
at
org.apache.geode.internal.security.IntegratedSecurityService.getSubject(IntegratedSecurityService.java:124)
at
org.apache.geode.internal.security.IntegratedSecurityService.authorize(IntegratedSecurityService.java:259)
at
org.apache.geode.internal.security.IntegratedSecurityService.authorize(IntegratedSecurityService.java:254)
at
org.apache.geode.internal.security.IntegratedSecurityService.authorize(IntegratedSecurityService.java:240)
at
org.apache.geode.internal.cache.tier.sockets.BaseCommandQuery.processQueryUsingParams(BaseCommandQuery.java:102)
at
org.apache.geode.internal.cache.tier.sockets.BaseCommandQuery.processQuery(BaseCommandQuery.java:66)
at
org.apache.geode.internal.cache.tier.sockets.command.Query.cmdExecute(Query.java:94)
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:865)
at
org.apache.geode.internal.cache.tier.sockets.ServerConnection.doOneMessage(ServerConnection.java:1051)
at
org.apache.geode.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1314)
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}
> 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
> Affects Versions: 1.15.0
> Reporter: Nabarun Nag
> Assignee: Jianxia Chen
> Priority: Major
> Labels: GeodeOperationAPI, needsTriage
>
> 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/*]
> {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)